#8172BF

Closest named color: Deep Lilac (#966EBD). oklch(59.9% 0.116 291.5), rgb(129, 114, 191).

Aa

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

About this color

#8172BF is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.116 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.034 away. Black text reads best on it, at 5.09:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.116)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.09:1
White text4.12:1

Values

HEX#8172BF
RGBrgb(129, 114, 191)
HSLhsl(252, 38%, 60%)
OKLCHoklch(59.9% 0.116 291.5)

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 #8172BF 4.12:1 AA large text Lc -73.8 Content text, not long reading
Black text on #8172BF 5.09:1 AA Lc 35.8 Non-text elements, placeholder text
#8172BF text on white 4.12:1 AA large text Lc 68.3 Content text, not long reading
#8172BF text on black 5.09:1 AA Lc -33.4 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #EAE8F4

    oklch(93.6% 0.016 293.7)

  3. Step 200

    200

    #D9D6ED

    oklch(88.5% 0.031 291.7)

  4. Step 300

    300

    #C0BBE3

    oklch(80.9% 0.056 290.8)

  5. Step 400

    400

    #A197D5

    oklch(70.8% 0.09 291.3)

  6. Step 500

    500 (this color)

    #8172BF

    oklch(59.9% 0.116 291.5)

  7. Step 600

    600

    #7564B6

    oklch(55.6% 0.125 291.3)

  8. Step 700

    700

    #62529D

    oklch(49% 0.117 291.3)

  9. Step 800

    800

    #50447F

    oklch(42.7% 0.096 291.1)

  10. Step 900

    900

    #423966

    oklch(37.6% 0.076 291.5)

  11. Step 950

    950

    #27223C

    oklch(27.1% 0.048 291.7)

Export this scale for Tailwind in the Tailwind colors tool

#8172BF 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)#5B7EC20.057
Deuteranopia (no green cones)#5C7BBD0.054
Tritanopia (no blue cones)#72808F0.096
Achromatopsia (no color)#7D7D7D0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #8172BF

    #8172BF

    oklch(59.9% 0.116 291.5)

  • #828627

    #828627

    oklch(59.8% 0.116 111.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8172BF

    #8172BF

    oklch(59.9% 0.116 291.5)

  • #587FC5

    #587FC5

    oklch(59.9% 0.116 261.4)

  • #9F67A9

    #9F67A9

    oklch(59.8% 0.116 321.3)

Open the analogous palette in the generator

Split complementary

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

  • #8172BF

    #8172BF

    oklch(59.9% 0.116 291.5)

  • #A27819

    #A27819

    oklch(59.9% 0.116 82.1)

  • #56914E

    #56914E

    oklch(59.9% 0.116 141.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8172BF

    #8172BF

    oklch(59.9% 0.116 291.5)

  • #B56A39

    #B56A39

    oklch(59.9% 0.115 51.9)

  • #069677

    #069677

    oklch(60% 0.116 171.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8172BF

    #8172BF

    oklch(59.9% 0.116 291.5)

  • #BB6161

    #BB6161

    oklch(59.8% 0.116 21.1)

  • #828627

    #828627

    oklch(59.8% 0.116 111.8)

  • #009199

    #009199

    oklch(59.8% 0.102 201.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8172BF 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.