#7172CA

Closest named color: Dark Periwinkle (#665FD1). oklch(59.2% 0.132 281.1), rgb(113, 114, 202).

Aa

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

About this color

#7172CA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.132 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Periwinkle (#665FD1), ΔE 0.055 away. Black text reads best on it, at 4.96:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.132)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.96:1
White text4.23:1

Values

HEX#7172CA
RGBrgb(113, 114, 202)
HSLhsl(239, 46%, 62%)
OKLCHoklch(59.2% 0.132 281.1)

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 #7172CA 4.23:1 AA large text Lc -74.6 Content text, not long reading
Black text on #7172CA 4.96:1 AA Lc 35.0 Non-text elements, placeholder text
#7172CA text on white 4.23:1 AA large text Lc 69.1 Content text, not long reading
#7172CA text on black 4.96:1 AA Lc -32.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 600.

  1. Step 50

    50

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E7E9F6

    oklch(93.6% 0.018 279.1)

  3. Step 200

    200

    #D5D7EF

    oklch(88.5% 0.033 281.9)

  4. Step 300

    300

    #B9BDE7

    oklch(80.9% 0.059 280.7)

  5. Step 400

    400

    #969ADB

    oklch(70.8% 0.095 281)

  6. Step 500

    500

    #7D7FD1

    oklch(63% 0.122 281.2)

  7. Step 600

    600 (this color)

    #7172CA

    oklch(59.2% 0.132 281.1)

  8. Step 700

    700

    #5656A4

    oklch(49.2% 0.122 280.9)

  9. Step 800

    800

    #464685

    oklch(42.6% 0.103 281.1)

  10. Step 900

    900

    #3B3B6B

    oklch(37.7% 0.081 281.8)

  11. Step 950

    950

    #22233E

    oklch(26.9% 0.05 280.9)

Export this scale for Tailwind in the Tailwind colors tool

#7172CA 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)#517ECD0.046
Deuteranopia (no green cones)#4B78C80.048
Tritanopia (no blue cones)#5484940.115
Achromatopsia (no color)#7B7B7B0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #7172CA

    #7172CA

    oklch(59.2% 0.132 281.1)

  • #8E7F00

    #8E7F00

    oklch(59.2% 0.123 101.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7172CA

    #7172CA

    oklch(59.2% 0.132 281.1)

  • #3881C9

    #3881C9

    oklch(59.2% 0.132 250.8)

  • #9765B7

    #9765B7

    oklch(59.2% 0.132 311)

Open the analogous palette in the generator

Split complementary

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

  • #7172CA

    #7172CA

    oklch(59.2% 0.132 281.1)

  • #AC6E00

    #AC6E00

    oklch(59.1% 0.127 70.8)

  • #618D30

    #618D30

    oklch(59.1% 0.132 131)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7172CA

    #7172CA

    oklch(59.2% 0.132 281.1)

  • #BE5F3A

    #BE5F3A

    oklch(59.3% 0.133 41.2)

  • #009564

    #009564

    oklch(59.2% 0.131 161.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7172CA

    #7172CA

    oklch(59.2% 0.132 281.1)

  • #BE586A

    #BE586A

    oklch(59.1% 0.132 11)

  • #8E7F00

    #8E7F00

    oklch(59.2% 0.123 101.1)

  • #00918C

    #00918C

    oklch(59.3% 0.102 190.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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