#9F238E

Closest named color: Warm Purple (#952E8F). oklch(49.8% 0.194 334.5), rgb(159, 35, 142).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.194)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.10:1
White text6.76:1

Values

HEX#9F238E
RGBrgb(159, 35, 142)
HSLhsl(308, 64%, 38%)
OKLCHoklch(49.8% 0.194 334.5)

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 #9F238E 6.76:1 AA Lc -87.1 Fine for body text
Black text on #9F238E 3.10:1 AA large text Lc 22.1 Dividers and decoration only
#9F238E text on white 6.76:1 AA Lc 82.0 Fine for body text
#9F238E text on black 3.10:1 AA large text Lc -19.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

    #F6E3F1

    oklch(93.5% 0.028 334.9)

  3. Step 200

    200

    #F0CDE7

    oklch(88.6% 0.052 335.1)

  4. Step 300

    300

    #E7AAD9

    oklch(80.9% 0.094 334.8)

  5. Step 400

    400

    #D87AC6

    oklch(70.7% 0.15 334.5)

  6. Step 500

    500

    #CB52B7

    oklch(63% 0.192 334.6)

  7. Step 600

    600

    #B630A3

    oklch(55.5% 0.208 334.5)

  8. Step 700

    700 (this color)

    #9F238E

    oklch(49.8% 0.194 334.5)

  9. Step 800

    800

    #7F1E72

    oklch(42.7% 0.161 334.1)

  10. Step 900

    900

    #67205C

    oklch(37.7% 0.126 334.5)

  11. Step 950

    950

    #3C1436

    oklch(26.9% 0.08 333.8)

Export this scale for Tailwind in the Tailwind colors tool

#9F238E 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)#2150910.213
Deuteranopia (no green cones)#50628B0.181
Tritanopia (no blue cones)#A72F570.099
Achromatopsia (no color)#5B5B5B0.196

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F238E

    #9F238E

    oklch(49.8% 0.194 334.5)

  • #007641

    #007641

    oklch(49.7% 0.124 154.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F238E

    #9F238E

    oklch(49.8% 0.194 334.5)

  • #7D38B9

    #7D38B9

    oklch(49.8% 0.194 304.7)

  • #B30D55

    #B30D55

    oklch(49.8% 0.194 4.3)

Open the analogous palette in the generator

Split complementary

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

  • #9F238E

    #9F238E

    oklch(49.8% 0.194 334.5)

  • #536E00

    #536E00

    oklch(49.8% 0.125 124.7)

  • #007369

    #007369

    oklch(49.9% 0.088 184.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F238E

    #9F238E

    oklch(49.8% 0.194 334.5)

  • #756100

    #756100

    oklch(49.8% 0.102 94.9)

  • #006F81

    #006F81

    oklch(49.8% 0.088 214)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F238E

    #9F238E

    oklch(49.8% 0.194 334.5)

  • #8E5200

    #8E5200

    oklch(49.8% 0.113 63.8)

  • #007641

    #007641

    oklch(49.7% 0.124 154.7)

  • #0068A4

    #0068A4

    oklch(49.9% 0.124 244.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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