#8175D3

Closest named color: Medium Purple (#9370DB). oklch(61.5% 0.139 287.4), rgb(129, 117, 211).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text5.41:1
White text3.87:1

Values

HEX#8175D3
RGBrgb(129, 117, 211)
HSLhsl(248, 52%, 64%)
OKLCHoklch(61.5% 0.139 287.4)

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 #8175D3 3.87:1 AA large text Lc -71.6 Content text, not long reading
Black text on #8175D3 5.41:1 AA Lc 38.0 Non-text elements, placeholder text
#8175D3 text on white 3.87:1 AA large text Lc 66.1 Content text, not long reading
#8175D3 text on black 5.41:1 AA Lc -35.6 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

    #E9E8F7

    oklch(93.6% 0.02 289.1)

  3. Step 200

    200

    #D7D6F1

    oklch(88.5% 0.037 287.3)

  4. Step 300

    300

    #BDBAEB

    oklch(80.8% 0.069 287.6)

  5. Step 400

    400

    #9C96E1

    oklch(70.7% 0.108 286.9)

  6. Step 500

    500 (this color)

    #8175D3

    oklch(61.5% 0.139 287.4)

  7. Step 600

    600

    #7061C6

    oklch(55.6% 0.151 287.2)

  8. Step 700

    700

    #5E50AB

    oklch(49.2% 0.14 287.1)

  9. Step 800

    800

    #4D428A

    oklch(42.8% 0.115 287.5)

  10. Step 900

    900

    #40386F

    oklch(37.7% 0.092 287.9)

  11. Step 950

    950

    #252141

    oklch(27% 0.058 287.5)

Export this scale for Tailwind in the Tailwind colors tool

#8175D3 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)#5384D60.065
Deuteranopia (no green cones)#527FD10.063
Tritanopia (no blue cones)#6A889A0.118
Achromatopsia (no color)#8181810.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #8175D3

    #8175D3

    oklch(61.5% 0.139 287.4)

  • #8E8900

    #8E8900

    oklch(61.5% 0.132 107.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8175D3

    #8175D3

    oklch(61.5% 0.139 287.4)

  • #4B85D7

    #4B85D7

    oklch(61.6% 0.139 257.3)

  • #A667BB

    #A667BB

    oklch(61.4% 0.14 317.3)

Open the analogous palette in the generator

Split complementary

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

  • #8175D3

    #8175D3

    oklch(61.5% 0.139 287.4)

  • #AF7900

    #AF7900

    oklch(61.6% 0.129 77.5)

  • #59973E

    #59973E

    oklch(61.4% 0.139 137.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8175D3

    #8175D3

    oklch(61.5% 0.139 287.4)

  • #C66731

    #C66731

    oklch(61.6% 0.138 47.6)

  • #009C75

    #009C75

    oklch(61.5% 0.126 167.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8175D3

    #8175D3

    oklch(61.5% 0.139 287.4)

  • #CA5D65

    #CA5D65

    oklch(61.4% 0.139 17.6)

  • #8E8900

    #8E8900

    oklch(61.5% 0.132 107.1)

  • #00989B

    #00989B

    oklch(61.7% 0.105 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 #8175D3, closest first.

Similar named colors

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

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