#7C7CB2

Closest named color: Lavender Gray (#7E7F9A). oklch(60.8% 0.081 283.7), rgb(124, 124, 178).

Aa

Black text reads best on this color (5.38:1).

About this color

#7C7CB2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.081 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.041 away. Black text reads best on it, at 5.38:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.38:1
White text3.90:1

Values

HEX#7C7CB2
RGBrgb(124, 124, 178)
HSLhsl(240, 26%, 59%)
OKLCHoklch(60.8% 0.081 283.7)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #7C7CB2 3.90:1 AA large text Lc -71.9 Content text, not long reading
Black text on #7C7CB2 5.38:1 AA Lc 37.7 Non-text elements, placeholder text
#7C7CB2 text on white 3.90:1 AA large text Lc 66.4 Content text, not long reading
#7C7CB2 text on black 5.38:1 AA Lc -35.2 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E8E9F2

    oklch(93.6% 0.012 281.1)

  3. Step 200

    200

    #D7D8E8

    oklch(88.6% 0.022 283.1)

  4. Step 300

    300

    #BDBEDA

    oklch(81% 0.039 283.9)

  5. Step 400

    400

    #9B9CC8

    oklch(70.8% 0.064 283.6)

  6. Step 500

    500 (this color)

    #7C7CB2

    oklch(60.8% 0.081 283.7)

  7. Step 600

    600

    #6D6CA6

    oklch(55.7% 0.089 283.9)

  8. Step 700

    700

    #5B5A8E

    oklch(49.1% 0.082 283.8)

  9. Step 800

    800

    #4A4A73

    oklch(42.7% 0.067 283.2)

  10. Step 900

    900

    #3E3E5D

    oklch(37.8% 0.053 283.6)

  11. Step 950

    950

    #242436

    oklch(26.9% 0.033 283.9)

Export this scale for Tailwind in the Tailwind colors tool

#7C7CB2 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#6D83B40.026
Deuteranopia (no green cones)#6B7FB10.024
Tritanopia (no blue cones)#6F868F0.072
Achromatopsia (no color)#8181810.082

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #7C7CB2

    #7C7CB2

    oklch(60.8% 0.081 283.7)

  • #8B8549

    #8B8549

    oklch(60.8% 0.081 103.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C7CB2

    #7C7CB2

    oklch(60.8% 0.081 283.7)

  • #6085B3

    #6085B3

    oklch(60.8% 0.082 254.3)

  • #9474A5

    #9474A5

    oklch(60.8% 0.081 313.6)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #7C7CB2

    #7C7CB2

    oklch(60.8% 0.081 283.7)

  • #A07B49

    #A07B49

    oklch(60.8% 0.081 73.6)

  • #6F8D5B

    #6F8D5B

    oklch(60.7% 0.08 133.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C7CB2

    #7C7CB2

    oklch(60.8% 0.081 283.7)

  • #AC725A

    #AC725A

    oklch(60.7% 0.082 43.2)

  • #509275

    #509275

    oklch(60.7% 0.082 163.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C7CB2

    #7C7CB2

    oklch(60.8% 0.081 283.7)

  • #AE6E74

    #AE6E74

    oklch(60.8% 0.082 13.7)

  • #8B8549

    #8B8549

    oklch(60.8% 0.081 103.5)

  • #3D9290

    #3D9290

    oklch(60.8% 0.081 193.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #7C7CB2, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #7C7CB2 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.