#951F7C

Closest named color: Warm Purple (#952E8F). oklch(46.9% 0.18 338.4), rgb(149, 31, 124).

Aa

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

About this color

#951F7C is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.180 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.034 away. White text reads best on it, at 7.59:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.180)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text2.76:1
White text7.59:1

Values

HEX#951F7C
RGBrgb(149, 31, 124)
HSLhsl(313, 66%, 35%)
OKLCHoklch(46.9% 0.18 338.4)

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 #951F7C 7.59:1 AAA Lc -90.0 Fine for body text
Black text on #951F7C 2.76:1 Fails Lc 18.9 Dividers and decoration only
#951F7C text on white 7.59:1 AAA Lc 85.1 Fine for body text
#951F7C text on black 2.76:1 Fails Lc -16.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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F6E4F0

    oklch(93.7% 0.025 337.8)

  3. Step 200

    200

    #F0CDE4

    oklch(88.5% 0.049 338.8)

  4. Step 300

    300

    #E7ABD4

    oklch(80.9% 0.088 338.6)

  5. Step 400

    400

    #D87CBE

    oklch(70.7% 0.14 338.5)

  6. Step 500

    500

    #CB57AE

    oklch(63.2% 0.178 338.3)

  7. Step 600

    600

    #B63799

    oklch(55.7% 0.193 338.4)

  8. Step 700

    700 (this color)

    #951F7C

    oklch(46.9% 0.18 338.4)

  9. Step 800

    800

    #7F236A

    oklch(42.7% 0.149 338.5)

  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

#951F7C 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)#25487E0.200
Deuteranopia (no green cones)#4E5A790.170
Tritanopia (no blue cones)#9E254C0.086
Achromatopsia (no color)#5454540.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #951F7C

    #951F7C

    oklch(46.9% 0.18 338.4)

  • #006C43

    #006C43

    oklch(46.8% 0.108 158.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #951F7C

    #951F7C

    oklch(46.9% 0.18 338.4)

  • #7732A6

    #7732A6

    oklch(47% 0.18 308.2)

  • #A60F46

    #A60F46

    oklch(47% 0.18 8.6)

Open the analogous palette in the generator

Split complementary

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

  • #951F7C

    #951F7C

    oklch(46.9% 0.18 338.4)

  • #456700

    #456700

    oklch(47% 0.124 128.6)

  • #006963

    #006963

    oklch(46.9% 0.082 187.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #951F7C

    #951F7C

    oklch(46.9% 0.18 338.4)

  • #695A00

    #695A00

    oklch(46.8% 0.097 97.9)

  • #00657A

    #00657A

    oklch(46.8% 0.084 218.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #951F7C

    #951F7C

    oklch(46.9% 0.18 338.4)

  • #7F4E00

    #7F4E00

    oklch(46.9% 0.102 68.9)

  • #006C43

    #006C43

    oklch(46.8% 0.108 158.7)

  • #005D9E

    #005D9E

    oklch(46.8% 0.128 248.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #951F7C.

Similar named colors

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

Use #951F7C 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.