#8A78CD

Closest named color: Medium Purple (#9370DB). oklch(62.5% 0.126 292.1), rgb(138, 120, 205).

Aa

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

About this color

#8A78CD is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.126 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.034 away. Black text reads best on it, at 5.64:1.

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

Values

HEX#8A78CD
RGBrgb(138, 120, 205)
HSLhsl(253, 46%, 64%)
OKLCHoklch(62.5% 0.126 292.1)

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 #8A78CD 3.71:1 AA large text Lc -70.1 Content text, not long reading
Black text on #8A78CD 5.64:1 AA Lc 39.4 Non-text elements, placeholder text
#8A78CD text on white 3.71:1 AA large text Lc 64.6 Content text, not long reading
#8A78CD text on black 5.64:1 AA Lc -37.0 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

    #D9D6EF

    oklch(88.6% 0.034 291.2)

  4. Step 300

    300

    #C1BAE6

    oklch(80.9% 0.062 292.3)

  5. Step 400

    400

    #A295D9

    oklch(70.7% 0.099 292.5)

  6. Step 500

    500 (this color)

    #8A78CD

    oklch(62.5% 0.126 292.1)

  7. Step 600

    600

    #7661BC

    oklch(55.5% 0.138 291.9)

  8. Step 700

    700

    #6450A2

    oklch(49.1% 0.128 292.3)

  9. Step 800

    800

    #514283

    oklch(42.7% 0.105 292)

  10. Step 900

    900

    #433869

    oklch(37.6% 0.082 292.3)

  11. Step 950

    950

    #27213E

    oklch(27% 0.053 291.9)

Export this scale for Tailwind in the Tailwind colors tool

#8A78CD 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)#5E86D00.065
Deuteranopia (no green cones)#6083CB0.061
Tritanopia (no blue cones)#7A88990.104
Achromatopsia (no color)#8484840.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A78CD

    #8A78CD

    oklch(62.5% 0.126 292.1)

  • #8A8F22

    #8A8F22

    oklch(62.6% 0.127 112.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A78CD

    #8A78CD

    oklch(62.5% 0.126 292.1)

  • #5D86D4

    #5D86D4

    oklch(62.5% 0.127 262.3)

  • #AB6CB5

    #AB6CB5

    oklch(62.5% 0.127 321.9)

Open the analogous palette in the generator

Split complementary

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

  • #8A78CD

    #8A78CD

    oklch(62.5% 0.126 292.1)

  • #AD7F0C

    #AD7F0C

    oklch(62.5% 0.126 82.3)

  • #589B51

    #589B51

    oklch(62.7% 0.127 141.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A78CD

    #8A78CD

    oklch(62.5% 0.126 292.1)

  • #C26F38

    #C26F38

    oklch(62.4% 0.126 51.8)

  • #009F7F

    #009F7F

    oklch(62.6% 0.122 171.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A78CD

    #8A78CD

    oklch(62.5% 0.126 292.1)

  • #C96664

    #C96664

    oklch(62.6% 0.126 22.5)

  • #8A8F22

    #8A8F22

    oklch(62.6% 0.127 112.2)

  • #009AA3

    #009AA3

    oklch(62.5% 0.106 202.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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