#9A228D

Closest named color: Warm Purple (#952E8F). oklch(48.9% 0.192 333.1), rgb(154, 34, 141).

Aa

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

About this color

#9A228D is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.192 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.018 away. White text reads best on it, at 7.02:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.192)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.98:1
White text7.02:1

Values

HEX#9A228D
RGBrgb(154, 34, 141)
HSLhsl(307, 64%, 37%)
OKLCHoklch(48.9% 0.192 333.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 #9A228D 7.02:1 AAA Lc -88.1 Fine for body text
Black text on #9A228D 2.98:1 Fails Lc 21.0 Dividers and decoration only
#9A228D text on white 7.02:1 AAA Lc 83.1 Fine for body text
#9A228D text on black 2.98:1 Fails Lc -18.9 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

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E4F2

    oklch(93.7% 0.027 333.3)

  3. Step 200

    200

    #EFCDE8

    oklch(88.5% 0.052 333.1)

  4. Step 300

    300

    #E5AADA

    oklch(80.8% 0.093 333.1)

  5. Step 400

    400

    #D67BC8

    oklch(70.7% 0.148 332.9)

  6. Step 500

    500

    #C954B9

    oklch(63.1% 0.189 333.2)

  7. Step 600

    600

    #B432A5

    oklch(55.5% 0.206 333.1)

  8. Step 700

    700 (this color)

    #9A228D

    oklch(48.9% 0.192 333.1)

  9. Step 800

    800

    #7E2073

    oklch(42.7% 0.159 333.2)

  10. Step 900

    900

    #66215D

    oklch(37.7% 0.125 333.3)

  11. Step 950

    950

    #3C1536

    oklch(27% 0.078 333.8)

Export this scale for Tailwind in the Tailwind colors tool

#9A228D 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)#1C4E900.210
Deuteranopia (no green cones)#4C5F8A0.177
Tritanopia (no blue cones)#A12F560.099
Achromatopsia (no color)#5959590.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A228D

    #9A228D

    oklch(48.9% 0.192 333.1)

  • #00743C

    #00743C

    oklch(49% 0.126 153.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A228D

    #9A228D

    oklch(48.9% 0.192 333.1)

  • #7837B7

    #7837B7

    oklch(48.9% 0.192 303.1)

  • #AF0B55

    #AF0B55

    oklch(49% 0.192 3.3)

Open the analogous palette in the generator

Split complementary

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

  • #9A228D

    #9A228D

    oklch(48.9% 0.192 333.1)

  • #536A00

    #536A00

    oklch(48.8% 0.12 123.2)

  • #007065

    #007065

    oklch(49% 0.087 183.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A228D

    #9A228D

    oklch(48.9% 0.192 333.1)

  • #745E00

    #745E00

    oklch(49% 0.1 92.9)

  • #006C7D

    #006C7D

    oklch(48.8% 0.086 213.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A228D

    #9A228D

    oklch(48.9% 0.192 333.1)

  • #8B4F00

    #8B4F00

    oklch(48.8% 0.111 62.8)

  • #00743C

    #00743C

    oklch(49% 0.126 153.1)

  • #00669D

    #00669D

    oklch(49% 0.118 242.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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