#945CB9

Closest named color: Deep Lavender (#8D5EB7). oklch(57.5% 0.148 310.3), rgb(148, 92, 185).

Aa

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

About this color

#945CB9 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.148 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.013 away. White text reads best on it, at 4.67:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.148)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.49:1
White text4.67:1

Values

HEX#945CB9
RGBrgb(148, 92, 185)
HSLhsl(276, 40%, 54%)
OKLCHoklch(57.5% 0.148 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 #945CB9 4.67:1 AA Lc -77.7 Fine for body text
Black text on #945CB9 4.49:1 AA large text Lc 31.9 Non-text elements, placeholder text
#945CB9 text on white 4.67:1 AA Lc 72.2 Content text, not long reading
#945CB9 text on black 4.49:1 AA large text Lc -29.5 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 600.

  1. Step 50

    50

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EEE7F4

    oklch(93.7% 0.019 309.8)

  3. Step 200

    200

    #E1D3EC

    oklch(88.6% 0.037 310.5)

  4. Step 300

    300

    #CEB5E1

    oklch(80.9% 0.067 310.4)

  5. Step 400

    400

    #B58DD2

    oklch(70.6% 0.107 310.3)

  6. Step 500

    500

    #A370C6

    oklch(63.1% 0.136 310.3)

  7. Step 600

    600 (this color)

    #945CB9

    oklch(57.5% 0.148 310.3)

  8. Step 700

    700

    #79469A

    oklch(49.2% 0.138 310.3)

  9. Step 800

    800

    #623A7D

    oklch(42.7% 0.114 310)

  10. Step 900

    900

    #503264

    oklch(37.6% 0.089 310.4)

  11. Step 950

    950

    #2F1E3B

    oklch(27.1% 0.056 310.1)

Export this scale for Tailwind in the Tailwind colors tool

#945CB9 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)#4471BC0.121
Deuteranopia (no green cones)#5575B70.108
Tritanopia (no blue cones)#906B820.103
Achromatopsia (no color)#7474740.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #945CB9

    #945CB9

    oklch(57.5% 0.148 310.3)

  • #5A8914

    #5A8914

    oklch(57.5% 0.148 130.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #945CB9

    #945CB9

    oklch(57.5% 0.148 310.3)

  • #6A6BCD

    #6A6BCD

    oklch(57.5% 0.148 280.2)

  • #B05194

    #B05194

    oklch(57.6% 0.148 340.1)

Open the analogous palette in the generator

Split complementary

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

  • #945CB9

    #945CB9

    oklch(57.5% 0.148 310.3)

  • #897A00

    #897A00

    oklch(57.5% 0.12 100.8)

  • #00905E

    #00905E

    oklch(57.7% 0.13 160.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #945CB9

    #945CB9

    oklch(57.5% 0.148 310.3)

  • #A76A00

    #A76A00

    oklch(57.7% 0.125 70.3)

  • #008B86

    #008B86

    oklch(57.5% 0.099 190.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #945CB9

    #945CB9

    oklch(57.5% 0.148 310.3)

  • #BF542B

    #BF542B

    oklch(57.6% 0.148 40.3)

  • #5A8914

    #5A8914

    oklch(57.5% 0.148 130.3)

  • #0087A4

    #0087A4

    oklch(57.7% 0.105 220)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #945CB9 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.