#8174F1

Closest named color: Medium Slate Blue (#7B68EE). oklch(63.2% 0.181 284.7), rgb(129, 116, 241).

Aa

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

About this color

#8174F1 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.181 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.030 away. Black text reads best on it, at 5.70:1.

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

Values

HEX#8174F1
RGBrgb(129, 116, 241)
HSLhsl(246, 82%, 70%)
OKLCHoklch(63.2% 0.181 284.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 #8174F1 3.68:1 AA large text Lc -69.6 Content text, not long reading
Black text on #8174F1 5.70:1 AA Lc 39.9 Non-text elements, placeholder text
#8174F1 text on white 3.68:1 AA large text Lc 64.2 Content text, not long reading
#8174F1 text on black 5.70:1 AA Lc -37.5 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

    #E7E8FB

    oklch(93.6% 0.026 283.5)

  3. Step 200

    200

    #D5D5F9

    oklch(88.4% 0.049 285.3)

  4. Step 300

    300

    #BAB9F8

    oklch(80.9% 0.088 285)

  5. Step 400

    400

    #9892F5

    oklch(70.7% 0.142 284.9)

  6. Step 500

    500 (this color)

    #8174F1

    oklch(63.2% 0.181 284.7)

  7. Step 600

    600

    #6C58DF

    oklch(55.5% 0.197 284.7)

  8. Step 700

    700

    #5B47C2

    oklch(49.1% 0.184 284.8)

  9. Step 800

    800

    #4A3C9D

    oklch(42.8% 0.151 284.6)

  10. Step 900

    900

    #3D347D

    oklch(37.7% 0.119 284.7)

  11. Step 950

    950

    #231F49

    oklch(26.9% 0.075 284.4)

Export this scale for Tailwind in the Tailwind colors tool

#8174F1 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)#3689F50.088
Deuteranopia (no green cones)#3181EE0.088
Tritanopia (no blue cones)#5B8FA80.153
Achromatopsia (no color)#8585850.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #8174F1

    #8174F1

    oklch(63.2% 0.181 284.7)

  • #978D00

    #978D00

    oklch(63.2% 0.134 104.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8174F1

    #8174F1

    oklch(63.2% 0.181 284.7)

  • #2A89F3

    #2A89F3

    oklch(63.1% 0.181 254.6)

  • #B161D4

    #B161D4

    oklch(63.1% 0.182 314.5)

Open the analogous palette in the generator

Split complementary

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

  • #8174F1

    #8174F1

    oklch(63.2% 0.181 284.7)

  • #B87C00

    #B87C00

    oklch(63.2% 0.133 75.1)

  • #55A008

    #55A008

    oklch(63.2% 0.181 134.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8174F1

    #8174F1

    oklch(63.2% 0.181 284.7)

  • #DE5B02

    #DE5B02

    oklch(63.1% 0.181 44.5)

  • #00A275

    #00A275

    oklch(63.1% 0.133 165)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8174F1

    #8174F1

    oklch(63.2% 0.181 284.7)

  • #E14F66

    #E14F66

    oklch(63.1% 0.181 14.7)

  • #978D00

    #978D00

    oklch(63.2% 0.134 104.6)

  • #009E9D

    #009E9D

    oklch(63.3% 0.108 194)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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