#7867AE

Closest named color: Dark Lavender (#856798). oklch(56% 0.109 293.6), rgb(120, 103, 174).

Aa

White text reads best on this color (4.82:1).

About this color

#7867AE is a medium-dark, moderately saturated purple. In OKLCH its lightness is 56%, its chroma 0.109 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.040 away. White text reads best on it, at 4.82:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.109)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.34:1
White text4.82:1

Values

HEX#7867AE
RGBrgb(120, 103, 174)
HSLhsl(254, 30%, 54%)
OKLCHoklch(56% 0.109 293.6)

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 #7867AE 4.82:1 AA Lc -78.8 Fine for body text
Black text on #7867AE 4.34:1 AA large text Lc 30.7 Non-text elements, placeholder text
#7867AE text on white 4.82:1 AA Lc 73.4 Content text, not long reading
#7867AE text on black 4.34:1 AA large text Lc -28.3 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #EAE8F3

    oklch(93.6% 0.015 294.5)

  3. Step 200

    200

    #D9D6EA

    oklch(88.4% 0.027 292.7)

  4. Step 300

    300

    #C1BBDE

    oklch(80.8% 0.049 293.1)

  5. Step 400

    400

    #A298CD

    oklch(70.7% 0.077 293)

  6. Step 500

    500

    #8C7DC0

    oklch(63% 0.1 293.6)

  7. Step 600

    600 (this color)

    #7867AE

    oklch(56% 0.109 293.6)

  8. Step 700

    700

    #645494

    oklch(49% 0.101 293.8)

  9. Step 800

    800

    #514578

    oklch(42.6% 0.084 293.4)

  10. Step 900

    900

    #433A61

    oklch(37.6% 0.066 293.6)

  11. Step 950

    950

    #272239

    oklch(26.9% 0.042 293.3)

Export this scale for Tailwind in the Tailwind colors tool

#7867AE 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)#5273B10.058
Deuteranopia (no green cones)#5471AC0.055
Tritanopia (no blue cones)#6C74820.089
Achromatopsia (no color)#7272720.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #7867AE

    #7867AE

    oklch(56% 0.109 293.6)

  • #757B24

    #757B24

    oklch(56.1% 0.109 113.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7867AE

    #7867AE

    oklch(56% 0.109 293.6)

  • #5373B4

    #5373B4

    oklch(56.1% 0.108 263.4)

  • #935D99

    #935D99

    oklch(56% 0.109 323.3)

Open the analogous palette in the generator

Split complementary

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

  • #7867AE

    #7867AE

    oklch(56% 0.109 293.6)

  • #936E14

    #936E14

    oklch(56.1% 0.109 83.6)

  • #4A8549

    #4A8549

    oklch(56.1% 0.109 143.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7867AE

    #7867AE

    oklch(56% 0.109 293.6)

  • #A56131

    #A56131

    oklch(56% 0.108 53.6)

  • #00886F

    #00886F

    oklch(55.9% 0.107 173.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7867AE

    #7867AE

    oklch(56% 0.109 293.6)

  • #AB5955

    #AB5955

    oklch(56.1% 0.108 24)

  • #757B24

    #757B24

    oklch(56.1% 0.109 113.2)

  • #00848E

    #00848E

    oklch(55.9% 0.095 204.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7867AE 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.