#9F378E

Closest named color: Warm Purple (#952E8F). oklch(51.6% 0.17 334.8), rgb(159, 55, 142).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.170)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.41:1
White text6.15:1

Values

HEX#9F378E
RGBrgb(159, 55, 142)
HSLhsl(310, 49%, 42%)
OKLCHoklch(51.6% 0.17 334.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 #9F378E 6.15:1 AA Lc -85.1 Fine for body text
Black text on #9F378E 3.41:1 AA large text Lc 24.2 Dividers and decoration only
#9F378E text on white 6.15:1 AA Lc 79.9 Fine for body text
#9F378E text on black 3.41:1 AA large text Lc -21.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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F5E4F0

    oklch(93.6% 0.024 336.1)

  3. Step 200

    200

    #EDCEE5

    oklch(88.4% 0.046 335.1)

  4. Step 300

    300

    #E3ADD6

    oklch(81% 0.083 335.1)

  5. Step 400

    400

    #D27FC1

    oklch(70.6% 0.132 334.8)

  6. Step 500

    500

    #C55CB1

    oklch(63.2% 0.168 335.2)

  7. Step 600

    600

    #B03E9D

    oklch(55.7% 0.183 335)

  8. Step 700

    700 (this color)

    #9F378E

    oklch(51.6% 0.17 334.8)

  9. Step 800

    800

    #7A286D

    oklch(42.6% 0.141 334.6)

  10. Step 900

    900

    #632658

    oklch(37.6% 0.11 335.1)

  11. Step 950

    950

    #3A1734

    oklch(26.9% 0.07 334.3)

Export this scale for Tailwind in the Tailwind colors tool

#9F378E 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)#3758910.181
Deuteranopia (no green cones)#58678B0.158
Tritanopia (no blue cones)#A73E5D0.086
Achromatopsia (no color)#6161610.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F378E

    #9F378E

    oklch(51.6% 0.17 334.8)

  • #007C45

    #007C45

    oklch(51.5% 0.128 154.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F378E

    #9F378E

    oklch(51.6% 0.17 334.8)

  • #7F46B5

    #7F46B5

    oklch(51.6% 0.171 304.8)

  • #B12D5B

    #B12D5B

    oklch(51.5% 0.171 4.6)

Open the analogous palette in the generator

Split complementary

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

  • #9F378E

    #9F378E

    oklch(51.6% 0.17 334.8)

  • #577400

    #577400

    oklch(51.7% 0.13 125.1)

  • #00786F

    #00786F

    oklch(51.5% 0.09 185.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F378E

    #9F378E

    oklch(51.6% 0.17 334.8)

  • #7B6600

    #7B6600

    oklch(51.5% 0.106 94.8)

  • #007588

    #007588

    oklch(51.7% 0.091 214.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F378E

    #9F378E

    oklch(51.6% 0.17 334.8)

  • #945700

    #945700

    oklch(51.5% 0.116 64.9)

  • #007C45

    #007C45

    oklch(51.5% 0.128 154.8)

  • #006DAC

    #006DAC

    oklch(51.6% 0.129 244.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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