#8177E2

Closest named color: Medium Purple (#9370DB). oklch(62.8% 0.157 285.2), rgb(129, 119, 226).

Aa

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

About this color

#8177E2 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.157 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.032 away. Black text reads best on it, at 5.67:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.157)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text5.67:1
White text3.70:1

Values

HEX#8177E2
RGBrgb(129, 119, 226)
HSLhsl(246, 65%, 68%)
OKLCHoklch(62.8% 0.157 285.2)

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 #8177E2 3.70:1 AA large text Lc -69.9 Content text, not long reading
Black text on #8177E2 5.67:1 AA Lc 39.6 Non-text elements, placeholder text
#8177E2 text on white 3.70:1 AA large text Lc 64.4 Content text, not long reading
#8177E2 text on black 5.67: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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E8E8F9

    oklch(93.6% 0.023 286)

  3. Step 200

    200

    #D6D6F5

    oklch(88.6% 0.042 285.5)

  4. Step 300

    300

    #BBBAF1

    oklch(80.9% 0.077 285.4)

  5. Step 400

    400

    #9995EA

    oklch(70.7% 0.123 284.9)

  6. Step 500

    500 (this color)

    #8177E2

    oklch(62.8% 0.157 285.2)

  7. Step 600

    600

    #6D5ED1

    oklch(55.6% 0.171 285.3)

  8. Step 700

    700

    #5B4DB5

    oklch(49.1% 0.158 285.1)

  9. Step 800

    800

    #4A4092

    oklch(42.7% 0.13 285)

  10. Step 900

    900

    #3E3775

    oklch(37.8% 0.103 285.5)

  11. Step 950

    950

    #242144

    oklch(27.1% 0.064 285.2)

Export this scale for Tailwind in the Tailwind colors tool

#8177E2 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)#4C88E60.071
Deuteranopia (no green cones)#4982E00.070
Tritanopia (no blue cones)#638DA20.133
Achromatopsia (no color)#8585850.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #8177E2

    #8177E2

    oklch(62.8% 0.157 285.2)

  • #958C00

    #958C00

    oklch(62.8% 0.133 105.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8177E2

    #8177E2

    oklch(62.8% 0.157 285.2)

  • #3E89E5

    #3E89E5

    oklch(62.8% 0.158 255.2)

  • #AC67C8

    #AC67C8

    oklch(62.8% 0.157 315.5)

Open the analogous palette in the generator

Split complementary

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

  • #8177E2

    #8177E2

    oklch(62.8% 0.157 285.2)

  • #B67B00

    #B67B00

    oklch(62.8% 0.132 75.4)

  • #5B9C2F

    #5B9C2F

    oklch(62.7% 0.156 135.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8177E2

    #8177E2

    oklch(62.8% 0.157 285.2)

  • #D36429

    #D36429

    oklch(62.9% 0.157 45.3)

  • #00A175

    #00A175

    oklch(62.8% 0.132 165.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8177E2

    #8177E2

    oklch(62.8% 0.157 285.2)

  • #D65969

    #D65969

    oklch(62.7% 0.158 15.1)

  • #958C00

    #958C00

    oklch(62.8% 0.133 105.1)

  • #009C9D

    #009C9D

    oklch(62.8% 0.107 195.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8177E2 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.