#8174ED

Closest named color: Medium Slate Blue (#7B68EE). oklch(62.9% 0.176 285), rgb(129, 116, 237).

Aa

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

About this color

#8174ED is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.176 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.031 away. Black text reads best on it, at 5.65:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.176)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text5.65:1
White text3.71:1

Values

HEX#8174ED
RGBrgb(129, 116, 237)
HSLhsl(246, 77%, 69%)
OKLCHoklch(62.9% 0.176 285)

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 #8174ED 3.71:1 AA large text Lc -70.0 Content text, not long reading
Black text on #8174ED 5.65:1 AA Lc 39.6 Non-text elements, placeholder text
#8174ED text on white 3.71:1 AA large text Lc 64.5 Content text, not long reading
#8174ED text on black 5.65: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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E8E8FA

    oklch(93.6% 0.024 285.9)

  3. Step 200

    200

    #D5D5F8

    oklch(88.4% 0.048 285.4)

  4. Step 300

    300

    #BAB9F7

    oklch(80.8% 0.087 285)

  5. Step 400

    400

    #9893F2

    oklch(70.7% 0.137 284.7)

  6. Step 500

    500 (this color)

    #8174ED

    oklch(62.9% 0.176 285)

  7. Step 600

    600

    #6D5ADC

    oklch(55.7% 0.191 285.1)

  8. Step 700

    700

    #5B48BF

    oklch(49% 0.178 285)

  9. Step 800

    800

    #4A3C9A

    oklch(42.6% 0.147 285.1)

  10. Step 900

    900

    #3D357B

    oklch(37.7% 0.115 284.7)

  11. Step 950

    950

    #242048

    oklch(27.1% 0.072 285.1)

Export this scale for Tailwind in the Tailwind colors tool

#8174ED 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)#3B88F10.085
Deuteranopia (no green cones)#3781EA0.084
Tritanopia (no blue cones)#5E8EA60.148
Achromatopsia (no color)#8585850.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #8174ED

    #8174ED

    oklch(62.9% 0.176 285)

  • #958C00

    #958C00

    oklch(62.8% 0.133 105.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8174ED

    #8174ED

    oklch(62.9% 0.176 285)

  • #3088F0

    #3088F0

    oklch(62.9% 0.177 255.2)

  • #B062D0

    #B062D0

    oklch(62.9% 0.175 315.2)

Open the analogous palette in the generator

Split complementary

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

  • #8174ED

    #8174ED

    oklch(62.9% 0.176 285)

  • #B77B00

    #B77B00

    oklch(62.9% 0.133 74.9)

  • #559F16

    #559F16

    oklch(63% 0.176 135.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8174ED

    #8174ED

    oklch(62.9% 0.176 285)

  • #DB5D0C

    #DB5D0C

    oklch(62.9% 0.176 45.1)

  • #00A175

    #00A175

    oklch(62.8% 0.132 165.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8174ED

    #8174ED

    oklch(62.9% 0.176 285)

  • #DE5166

    #DE5166

    oklch(62.9% 0.176 14.9)

  • #958C00

    #958C00

    oklch(62.8% 0.133 105.1)

  • #009D9D

    #009D9D

    oklch(63% 0.108 194.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8174ED.

Similar named colors

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

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