#8F78CA

Closest named color: Deep Lilac (#966EBD). oklch(62.8% 0.122 295.6), rgb(143, 120, 202).

Aa

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

About this color

#8F78CA is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.122 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.029 away. Black text reads best on it, at 5.70:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.122)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.70:1
White text3.67:1

Values

HEX#8F78CA
RGBrgb(143, 120, 202)
HSLhsl(257, 44%, 63%)
OKLCHoklch(62.8% 0.122 295.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 #8F78CA 3.67:1 AA large text Lc -69.8 Content text, not long reading
Black text on #8F78CA 5.70:1 AA Lc 39.8 Non-text elements, placeholder text
#8F78CA text on white 3.67:1 AA large text Lc 64.3 Content text, not long reading
#8F78CA text on black 5.70:1 AA Lc -37.4 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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #DAD5ED

    oklch(88.4% 0.033 295.3)

  4. Step 300

    300

    #C3B9E4

    oklch(80.8% 0.061 295.7)

  5. Step 400

    400

    #A594D6

    oklch(70.6% 0.096 295.7)

  6. Step 500

    500 (this color)

    #8F78CA

    oklch(62.8% 0.122 295.6)

  7. Step 600

    600

    #7B60B8

    oklch(55.6% 0.134 295.9)

  8. Step 700

    700

    #674F9E

    oklch(49% 0.124 295.5)

  9. Step 800

    800

    #544180

    oklch(42.6% 0.103 295.6)

  10. Step 900

    900

    #453867

    oklch(37.7% 0.079 295.1)

  11. Step 950

    950

    #29213C

    oklch(27.1% 0.05 296.6)

Export this scale for Tailwind in the Tailwind colors tool

#8F78CA 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)#6186CD0.068
Deuteranopia (no green cones)#6484C80.065
Tritanopia (no blue cones)#8287970.100
Achromatopsia (no color)#8585850.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F78CA

    #8F78CA

    oklch(62.8% 0.122 295.6)

  • #86912E

    #86912E

    oklch(62.8% 0.122 115.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F78CA

    #8F78CA

    oklch(62.8% 0.122 295.6)

  • #6586D3

    #6586D3

    oklch(62.9% 0.122 265.5)

  • #AE6DB0

    #AE6DB0

    oklch(62.8% 0.122 325.9)

Open the analogous palette in the generator

Split complementary

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

  • #8F78CA

    #8F78CA

    oklch(62.8% 0.122 295.6)

  • #AA8217

    #AA8217

    oklch(62.9% 0.123 85.5)

  • #549C59

    #549C59

    oklch(62.9% 0.122 145.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F78CA

    #8F78CA

    oklch(62.8% 0.122 295.6)

  • #C07337

    #C07337

    oklch(62.9% 0.122 55.9)

  • #009F85

    #009F85

    oklch(62.7% 0.118 175.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F78CA

    #8F78CA

    oklch(62.8% 0.122 295.6)

  • #C86961

    #C86961

    oklch(62.9% 0.122 26.1)

  • #86912E

    #86912E

    oklch(62.8% 0.122 115.4)

  • #009BA8

    #009BA8

    oklch(62.9% 0.108 205.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8F78CA 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.