#8175CF

Closest named color: Medium Purple (#9370DB). oklch(61.3% 0.134 287.9), rgb(129, 117, 207).

Aa

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

About this color

#8175CF is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.134 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.036 away. Black text reads best on it, at 5.37:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.134)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text5.37:1
White text3.90:1

Values

HEX#8175CF
RGBrgb(129, 117, 207)
HSLhsl(248, 48%, 64%)
OKLCHoklch(61.3% 0.134 287.9)

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 #8175CF 3.90:1 AA large text Lc -71.8 Content text, not long reading
Black text on #8175CF 5.37:1 AA Lc 37.7 Non-text elements, placeholder text
#8175CF text on white 3.90:1 AA large text Lc 66.3 Content text, not long reading
#8175CF text on black 5.37:1 AA Lc -35.3 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E9E8F6

    oklch(93.6% 0.019 289.3)

  3. Step 200

    200

    #D7D6F0

    oklch(88.5% 0.036 287.4)

  4. Step 300

    300

    #BEBBE9

    oklch(81% 0.064 287.9)

  5. Step 400

    400

    #9D96DE

    oklch(70.7% 0.104 287.9)

  6. Step 500

    500 (this color)

    #8175CF

    oklch(61.3% 0.134 287.9)

  7. Step 600

    600

    #7162C2

    oklch(55.6% 0.144 287.9)

  8. Step 700

    700

    #5F50A8

    oklch(49.1% 0.136 288.2)

  9. Step 800

    800

    #4D4288

    oklch(42.6% 0.112 287.9)

  10. Step 900

    900

    #40396D

    oklch(37.8% 0.087 287.7)

  11. Step 950

    950

    #252140

    oklch(26.9% 0.057 287.9)

Export this scale for Tailwind in the Tailwind colors tool

#8175CF 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)#5683D20.062
Deuteranopia (no green cones)#557FCD0.060
Tritanopia (no blue cones)#6C87980.113
Achromatopsia (no color)#8181810.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #8175CF

    #8175CF

    oklch(61.3% 0.134 287.9)

  • #8C8900

    #8C8900

    oklch(61.3% 0.132 108.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8175CF

    #8175CF

    oklch(61.3% 0.134 287.9)

  • #4E84D3

    #4E84D3

    oklch(61.3% 0.134 257.9)

  • #A568B8

    #A568B8

    oklch(61.3% 0.134 317.8)

Open the analogous palette in the generator

Split complementary

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

  • #8175CF

    #8175CF

    oklch(61.3% 0.134 287.9)

  • #AE7900

    #AE7900

    oklch(61.4% 0.128 78)

  • #599642

    #599642

    oklch(61.2% 0.133 137.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8175CF

    #8175CF

    oklch(61.3% 0.134 287.9)

  • #C36834

    #C36834

    oklch(61.3% 0.133 48.1)

  • #009B75

    #009B75

    oklch(61.2% 0.124 167.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8175CF

    #8175CF

    oklch(61.3% 0.134 287.9)

  • #C75F65

    #C75F65

    oklch(61.3% 0.133 18.2)

  • #8C8900

    #8C8900

    oklch(61.3% 0.132 108.2)

  • #00979A

    #00979A

    oklch(61.4% 0.104 197.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8175CF 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.