#8174DD

Closest named color: Medium Purple (#9370DB). oklch(61.9% 0.154 286.7), rgb(129, 116, 221).

Aa

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

About this color

#8174DD is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.154 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.029 away. Black text reads best on it, at 5.47:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.154)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text5.47:1
White text3.83:1

Values

HEX#8174DD
RGBrgb(129, 116, 221)
HSLhsl(247, 61%, 66%)
OKLCHoklch(61.9% 0.154 286.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 #8174DD 3.83:1 AA large text Lc -71.2 Content text, not long reading
Black text on #8174DD 5.47:1 AA Lc 38.4 Non-text elements, placeholder text
#8174DD text on white 3.83:1 AA large text Lc 65.7 Content text, not long reading
#8174DD text on black 5.47:1 AA Lc -36.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

    #F5F5FC

    oklch(97.2% 0.009 286.2)

  2. Step 100

    100

    #E8E8F8

    oklch(93.6% 0.022 286)

  3. Step 200

    200

    #D6D6F4

    oklch(88.5% 0.041 285.5)

  4. Step 300

    300

    #BCBAF0

    oklch(80.9% 0.076 286.3)

  5. Step 400

    400

    #9B94E8

    oklch(70.6% 0.121 286.7)

  6. Step 500

    500 (this color)

    #8174DD

    oklch(61.9% 0.154 286.7)

  7. Step 600

    600

    #6F5ECF

    oklch(55.6% 0.168 286.5)

  8. Step 700

    700

    #5D4DB3

    oklch(49.1% 0.156 286.4)

  9. Step 800

    800

    #4C4091

    oklch(42.8% 0.129 286.4)

  10. Step 900

    900

    #3F3774

    oklch(37.8% 0.101 286.5)

  11. Step 950

    950

    #252144

    oklch(27.2% 0.063 286.6)

Export this scale for Tailwind in the Tailwind colors tool

#8174DD 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)#4A85E10.073
Deuteranopia (no green cones)#497FDB0.071
Tritanopia (no blue cones)#66899E0.129
Achromatopsia (no color)#8282820.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #8174DD

    #8174DD

    oklch(61.9% 0.154 286.7)

  • #908A00

    #908A00

    oklch(61.9% 0.132 106.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8174DD

    #8174DD

    oklch(61.9% 0.154 286.7)

  • #4286E1

    #4286E1

    oklch(62.1% 0.154 256.6)

  • #AA65C3

    #AA65C3

    oklch(62% 0.154 316.5)

Open the analogous palette in the generator

Split complementary

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

  • #8174DD

    #8174DD

    oklch(61.9% 0.154 286.7)

  • #B17900

    #B17900

    oklch(61.8% 0.13 76.5)

  • #569A32

    #569A32

    oklch(61.9% 0.154 136.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8174DD

    #8174DD

    oklch(61.9% 0.154 286.7)

  • #CE6324

    #CE6324

    oklch(62% 0.154 46.9)

  • #009E75

    #009E75

    oklch(62% 0.128 166.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8174DD

    #8174DD

    oklch(61.9% 0.154 286.7)

  • #D25864

    #D25864

    oklch(61.9% 0.154 16.8)

  • #908A00

    #908A00

    oklch(61.9% 0.132 106.6)

  • #00999B

    #00999B

    oklch(61.9% 0.105 196.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8174DD 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.