#956CB2

Closest named color: Deep Lilac (#966EBD). oklch(60% 0.112 310.3), rgb(149, 108, 178).

Aa

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

About this color

#956CB2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.112 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.017 away. Black text reads best on it, at 5.06:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.06:1
White text4.14:1

Values

HEX#956CB2
RGBrgb(149, 108, 178)
HSLhsl(275, 31%, 56%)
OKLCHoklch(60% 0.112 310.3)

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 #956CB2 4.14:1 AA large text Lc -73.9 Content text, not long reading
Black text on #956CB2 5.06:1 AA Lc 35.7 Non-text elements, placeholder text
#956CB2 text on white 4.14:1 AA large text Lc 68.4 Content text, not long reading
#956CB2 text on black 5.06:1 AA Lc -33.3 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

    #EDE7F2

    oklch(93.6% 0.016 310.1)

  3. Step 200

    200

    #DFD4E9

    oklch(88.5% 0.031 309.1)

  4. Step 300

    300

    #CCB7DC

    oklch(80.9% 0.056 310.5)

  5. Step 400

    400

    #B291CA

    oklch(70.7% 0.089 310.5)

  6. Step 500

    500 (this color)

    #956CB2

    oklch(60% 0.112 310.3)

  7. Step 600

    600

    #895DA8

    oklch(55.6% 0.122 310)

  8. Step 700

    700

    #754C90

    oklch(49.1% 0.114 310.6)

  9. Step 800

    800

    #5F3F75

    oklch(42.8% 0.094 310.3)

  10. Step 900

    900

    #4E365E

    oklch(37.8% 0.072 310.9)

  11. Step 950

    950

    #2D2037

    oklch(27% 0.045 309.5)

Export this scale for Tailwind in the Tailwind colors tool

#956CB2 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)#5E7BB50.085
Deuteranopia (no green cones)#687DB00.078
Tritanopia (no blue cones)#9276870.079
Achromatopsia (no color)#7C7C7C0.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #956CB2

    #956CB2

    oklch(60% 0.112 310.3)

  • #698D41

    #698D41

    oklch(59.9% 0.112 130.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #956CB2

    #956CB2

    oklch(60% 0.112 310.3)

  • #7477C2

    #7477C2

    oklch(59.9% 0.113 280.7)

  • #AC6495

    #AC6495

    oklch(60% 0.112 340.1)

Open the analogous palette in the generator

Split complementary

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

  • #956CB2

    #956CB2

    oklch(60% 0.112 310.3)

  • #908122

    #908122

    oklch(60% 0.112 99.9)

  • #349469

    #349469

    oklch(59.9% 0.112 160.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #956CB2

    #956CB2

    oklch(60% 0.112 310.3)

  • #AA7328

    #AA7328

    oklch(60% 0.112 70.4)

  • #00938E

    #00938E

    oklch(59.9% 0.103 190.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #956CB2

    #956CB2

    oklch(60% 0.112 310.3)

  • #B8674A

    #B8674A

    oklch(60% 0.112 40.3)

  • #698D41

    #698D41

    oklch(59.9% 0.112 130.2)

  • #008FAD

    #008FAD

    oklch(60.1% 0.109 219.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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