#97227D

Closest named color: Warm Purple (#952E8F). oklch(47.5% 0.179 338.8), rgb(151, 34, 125).

Aa

White text reads best on this color (7.39:1).

About this color

#97227D is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.179 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.031 away. White text reads best on it, at 7.39:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.179)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text2.84:1
White text7.39:1

Values

HEX#97227D
RGBrgb(151, 34, 125)
HSLhsl(313, 63%, 36%)
OKLCHoklch(47.5% 0.179 338.8)

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 #97227D 7.39:1 AAA Lc -89.4 Fine for body text
Black text on #97227D 2.84:1 Fails Lc 19.6 Dividers and decoration only
#97227D text on white 7.39:1 AAA Lc 84.4 Fine for body text
#97227D text on black 2.84:1 Fails Lc -17.5 Dividers and decoration only

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 700.

  1. Step 50

    50

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F6E4EF

    oklch(93.6% 0.024 340.3)

  3. Step 200

    200

    #F0CDE4

    oklch(88.5% 0.049 338.8)

  4. Step 300

    300

    #E7ABD3

    oklch(80.9% 0.087 339.3)

  5. Step 400

    400

    #D87CBD

    oklch(70.7% 0.139 339)

  6. Step 500

    500

    #CB57AD

    oklch(63.2% 0.177 338.7)

  7. Step 600

    600

    #B63798

    oklch(55.6% 0.193 338.8)

  8. Step 700

    700 (this color)

    #97227D

    oklch(47.5% 0.179 338.8)

  9. Step 800

    800

    #7F2369

    oklch(42.6% 0.148 339)

  10. Step 900

    900

    #672356

    oklch(37.8% 0.117 338.8)

  11. Step 950

    950

    #3C1632

    oklch(27% 0.072 338.7)

Export this scale for Tailwind in the Tailwind colors tool

#97227D 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)#294A7F0.198
Deuteranopia (no green cones)#505C7A0.170
Tritanopia (no blue cones)#A0284D0.085
Achromatopsia (no color)#5656560.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #97227D

    #97227D

    oklch(47.5% 0.179 338.8)

  • #006E45

    #006E45

    oklch(47.5% 0.109 159.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #97227D

    #97227D

    oklch(47.5% 0.179 338.8)

  • #7934A7

    #7934A7

    oklch(47.5% 0.179 308.6)

  • #A81447

    #A81447

    oklch(47.6% 0.179 9)

Open the analogous palette in the generator

Split complementary

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

  • #97227D

    #97227D

    oklch(47.5% 0.179 338.8)

  • #466900

    #466900

    oklch(47.6% 0.126 128.8)

  • #006B65

    #006B65

    oklch(47.6% 0.083 188.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #97227D

    #97227D

    oklch(47.5% 0.179 338.8)

  • #6B5C00

    #6B5C00

    oklch(47.5% 0.098 98.1)

  • #00677D

    #00677D

    oklch(47.5% 0.086 219.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #97227D

    #97227D

    oklch(47.5% 0.179 338.8)

  • #814F00

    #814F00

    oklch(47.4% 0.104 68.6)

  • #006E45

    #006E45

    oklch(47.5% 0.109 159.1)

  • #005FA1

    #005FA1

    oklch(47.5% 0.13 248.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #97227D.

Similar named colors

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

Use #97227D 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.