#956FAC

Closest named color: Dark Lilac (#9C6DA5). oklch(60.3% 0.1 312.1), rgb(149, 111, 172).

Aa

Black text reads best on this color (5.14:1).

About this color

#956FAC is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.100 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.015 away. Black text reads best on it, at 5.14:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest nameDark Lilac (#9C6DA5)
Black text5.14:1
White text4.07:1

Values

HEX#956FAC
RGBrgb(149, 111, 172)
HSLhsl(277, 27%, 55%)
OKLCHoklch(60.3% 0.1 312.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 #956FAC 4.07:1 AA large text Lc -73.4 Content text, not long reading
Black text on #956FAC 5.14:1 AA Lc 36.2 Non-text elements, placeholder text
#956FAC text on white 4.07:1 AA large text Lc 67.9 Content text, not long reading
#956FAC text on black 5.14:1 AA Lc -33.8 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EDE7F1

    oklch(93.6% 0.015 312.2)

  3. Step 200

    200

    #DFD4E6

    oklch(88.4% 0.027 312.6)

  4. Step 300

    300

    #CBB8D8

    oklch(80.9% 0.049 311.7)

  5. Step 400

    400

    #B193C4

    oklch(70.7% 0.077 312.1)

  6. Step 500

    500 (this color)

    #956FAC

    oklch(60.3% 0.1 312.1)

  7. Step 600

    600

    #895FA1

    oklch(55.6% 0.109 312.5)

  8. Step 700

    700

    #744F8A

    oklch(49.2% 0.1 312)

  9. Step 800

    800

    #5E4170

    oklch(42.7% 0.083 311.6)

  10. Step 900

    900

    #4D375A

    oklch(37.6% 0.064 312.3)

  11. Step 950

    950

    #2D2035

    oklch(26.9% 0.042 312)

Export this scale for Tailwind in the Tailwind colors tool

#956FAC 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)#647CAE0.077
Deuteranopia (no green cones)#6D7FAA0.071
Tritanopia (no blue cones)#9377860.069
Achromatopsia (no color)#7E7E7E0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #956FAC

    #956FAC

    oklch(60.3% 0.1 312.1)

  • #6A8D4D

    #6A8D4D

    oklch(60.1% 0.099 132.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #956FAC

    #956FAC

    oklch(60.3% 0.1 312.1)

  • #7879BB

    #7879BB

    oklch(60.3% 0.1 282.3)

  • #AA6892

    #AA6892

    oklch(60.3% 0.101 341.9)

Open the analogous palette in the generator

Split complementary

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

  • #956FAC

    #956FAC

    oklch(60.3% 0.1 312.1)

  • #8D8335

    #8D8335

    oklch(60.3% 0.1 102)

  • #40936F

    #40936F

    oklch(60.2% 0.099 162.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #956FAC

    #956FAC

    oklch(60.3% 0.1 312.1)

  • #A57737

    #A57737

    oklch(60.3% 0.099 72.9)

  • #169390

    #169390

    oklch(60.1% 0.099 192.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #956FAC

    #956FAC

    oklch(60.3% 0.1 312.1)

  • #B36C50

    #B36C50

    oklch(60.3% 0.1 42.1)

  • #6A8D4D

    #6A8D4D

    oklch(60.1% 0.099 132.2)

  • #288EAC

    #288EAC

    oklch(60.3% 0.1 222.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #956FAC 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.