#9C227F

Closest named color: Warm Purple (#952E8F). oklch(48.5% 0.183 339.7), rgb(156, 34, 127).

Aa

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

About this color

#9C227F is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.183 and its hue 340°. 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.12:1.

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

Values

HEX#9C227F
RGBrgb(156, 34, 127)
HSLhsl(314, 64%, 37%)
OKLCHoklch(48.5% 0.183 339.7)

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 #9C227F 7.12:1 AAA Lc -88.4 Fine for body text
Black text on #9C227F 2.94:1 Fails Lc 20.6 Dividers and decoration only
#9C227F text on white 7.12:1 AAA Lc 83.4 Fine for body text
#9C227F text on black 2.94:1 Fails Lc -18.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

    #FBF2F8

    oklch(97% 0.012 337.5)

  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

    #E8ABD3

    oklch(81% 0.088 339.8)

  5. Step 400

    400

    #DA7BBD

    oklch(70.8% 0.142 339.6)

  6. Step 500

    500

    #CD55AC

    oklch(63.1% 0.181 339.7)

  7. Step 600

    600

    #B83497

    oklch(55.6% 0.197 339.7)

  8. Step 700

    700 (this color)

    #9C227F

    oklch(48.5% 0.183 339.7)

  9. Step 800

    800

    #812169

    oklch(42.8% 0.152 339.8)

  10. Step 900

    900

    #682255

    oklch(37.7% 0.118 340)

  11. Step 950

    950

    #3D1532

    oklch(27% 0.075 339.5)

Export this scale for Tailwind in the Tailwind colors tool

#9C227F 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)#2B4C810.203
Deuteranopia (no green cones)#535F7C0.175
Tritanopia (no blue cones)#A5274E0.086
Achromatopsia (no color)#5858580.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C227F

    #9C227F

    oklch(48.5% 0.183 339.7)

  • #007148

    #007148

    oklch(48.4% 0.11 159.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C227F

    #9C227F

    oklch(48.5% 0.183 339.7)

  • #7E35AA

    #7E35AA

    oklch(48.5% 0.183 309.9)

  • #AD1447

    #AD1447

    oklch(48.5% 0.183 9.9)

Open the analogous palette in the generator

Split complementary

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

  • #9C227F

    #9C227F

    oklch(48.5% 0.183 339.7)

  • #466C00

    #466C00

    oklch(48.4% 0.13 129.6)

  • #006E69

    #006E69

    oklch(48.5% 0.084 189.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C227F

    #9C227F

    oklch(48.5% 0.183 339.7)

  • #6D5F00

    #6D5F00

    oklch(48.4% 0.1 99.2)

  • #006A81

    #006A81

    oklch(48.5% 0.088 219.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C227F

    #9C227F

    oklch(48.5% 0.183 339.7)

  • #845200

    #845200

    oklch(48.4% 0.105 69.6)

  • #007148

    #007148

    oklch(48.4% 0.11 159.6)

  • #0061A8

    #0061A8

    oklch(48.5% 0.137 249.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9C227F.

Similar named colors

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

Use #9C227F 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.