#7172B2

Closest named color: Dark Lavender (#856798). oklch(57.8% 0.098 282.2), rgb(113, 114, 178).

Aa

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

About this color

#7172B2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.098 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.051 away. Black text reads best on it, at 4.75:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.098)
Temperaturecool
Nearest nameDark Lavender (#856798)
Black text4.75:1
White text4.41:1

Values

HEX#7172B2
RGBrgb(113, 114, 178)
HSLhsl(239, 30%, 57%)
OKLCHoklch(57.8% 0.098 282.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 #7172B2 4.41:1 AA large text Lc -76.1 Fine for body text
Black text on #7172B2 4.75:1 AA Lc 33.5 Non-text elements, placeholder text
#7172B2 text on white 4.41:1 AA large text Lc 70.6 Content text, not long reading
#7172B2 text on black 4.75:1 AA Lc -31.1 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 600.

  1. Step 50

    50

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E8E9F2

    oklch(93.6% 0.012 281.1)

  3. Step 200

    200

    #D6D8E9

    oklch(88.6% 0.023 280.6)

  4. Step 300

    300

    #BCBEDD

    oklch(81% 0.044 282.5)

  5. Step 400

    400

    #999CCC

    oklch(70.8% 0.07 281.7)

  6. Step 500

    500

    #8183BF

    oklch(63.2% 0.09 282)

  7. Step 600

    600 (this color)

    #7172B2

    oklch(57.8% 0.098 282.2)

  8. Step 700

    700

    #595993

    oklch(49% 0.092 282.5)

  9. Step 800

    800

    #494977

    oklch(42.7% 0.076 282.7)

  10. Step 900

    900

    #3D3D60

    oklch(37.6% 0.059 283.2)

  11. Step 950

    950

    #242438

    oklch(27% 0.037 283.7)

Export this scale for Tailwind in the Tailwind colors tool

#7172B2 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)#5E7AB50.031
Deuteranopia (no green cones)#5B76B00.031
Tritanopia (no blue cones)#5F7E8A0.084
Achromatopsia (no color)#7878780.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #7172B2

    #7172B2

    oklch(57.8% 0.098 282.2)

  • #857C2F

    #857C2F

    oklch(57.9% 0.098 102.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7172B2

    #7172B2

    oklch(57.8% 0.098 282.2)

  • #4D7DB2

    #4D7DB2

    oklch(57.9% 0.098 252)

  • #8D68A3

    #8D68A3

    oklch(57.7% 0.097 312.3)

Open the analogous palette in the generator

Split complementary

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

  • #7172B2

    #7172B2

    oklch(57.8% 0.098 282.2)

  • #9D7031

    #9D7031

    oklch(57.9% 0.098 72.7)

  • #648647

    #648647

    oklch(57.9% 0.098 132)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7172B2

    #7172B2

    oklch(57.8% 0.098 282.2)

  • #AA654A

    #AA654A

    oklch(57.8% 0.098 41.9)

  • #3A8C68

    #3A8C68

    oklch(57.9% 0.098 162)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7172B2

    #7172B2

    oklch(57.8% 0.098 282.2)

  • #AB606A

    #AB606A

    oklch(57.7% 0.098 12.1)

  • #857C2F

    #857C2F

    oklch(57.9% 0.098 102.7)

  • #0A8C89

    #0A8C89

    oklch(57.9% 0.098 192.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7172B2 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.