#8A78CF

Closest named color: Medium Purple (#9370DB). oklch(62.6% 0.129 291.7), rgb(138, 120, 207).

Aa

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

About this color

#8A78CF is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.129 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.032 away. Black text reads best on it, at 5.66:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.66:1
White text3.70:1

Values

HEX#8A78CF
RGBrgb(138, 120, 207)
HSLhsl(252, 48%, 64%)
OKLCHoklch(62.6% 0.129 291.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 #8A78CF 3.70:1 AA large text Lc -70.0 Content text, not long reading
Black text on #8A78CF 5.66:1 AA Lc 39.6 Non-text elements, placeholder text
#8A78CF text on white 3.70:1 AA large text Lc 64.5 Content text, not long reading
#8A78CF text on black 5.66:1 AA Lc -37.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

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #D9D5EF

    oklch(88.4% 0.036 292.7)

  4. Step 300

    300

    #C1BAE7

    oklch(81% 0.063 292.1)

  5. Step 400

    400

    #A195DB

    oklch(70.7% 0.102 291.4)

  6. Step 500

    500 (this color)

    #8A78CF

    oklch(62.6% 0.129 291.7)

  7. Step 600

    600

    #7661BE

    oklch(55.7% 0.14 291.6)

  8. Step 700

    700

    #6350A4

    oklch(49.2% 0.13 291.3)

  9. Step 800

    800

    #514284

    oklch(42.7% 0.107 291.7)

  10. Step 900

    900

    #43386A

    oklch(37.7% 0.084 292)

  11. Step 950

    950

    #27213E

    oklch(27% 0.053 291.9)

Export this scale for Tailwind in the Tailwind colors tool

#8A78CF 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)#5D86D20.065
Deuteranopia (no green cones)#5E83CD0.063
Tritanopia (no blue cones)#7A88990.107
Achromatopsia (no color)#8585850.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A78CF

    #8A78CF

    oklch(62.6% 0.129 291.7)

  • #8B8F1D

    #8B8F1D

    oklch(62.7% 0.129 111.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A78CF

    #8A78CF

    oklch(62.6% 0.129 291.7)

  • #5C86D5

    #5C86D5

    oklch(62.5% 0.129 262.1)

  • #AC6CB6

    #AC6CB6

    oklch(62.7% 0.129 322)

Open the analogous palette in the generator

Split complementary

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

  • #8A78CF

    #8A78CF

    oklch(62.6% 0.129 291.7)

  • #AF7F01

    #AF7F01

    oklch(62.7% 0.129 81.8)

  • #579B4F

    #579B4F

    oklch(62.6% 0.129 141.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A78CF

    #8A78CF

    oklch(62.6% 0.129 291.7)

  • #C46F36

    #C46F36

    oklch(62.7% 0.129 51.9)

  • #009F7F

    #009F7F

    oklch(62.6% 0.122 171.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A78CF

    #8A78CF

    oklch(62.6% 0.129 291.7)

  • #CA6564

    #CA6564

    oklch(62.6% 0.129 22)

  • #8B8F1D

    #8B8F1D

    oklch(62.7% 0.129 111.7)

  • #009BA3

    #009BA3

    oklch(62.7% 0.107 201.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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