#945CAB

Closest named color: Deep Lavender (#8D5EB7). oklch(56.8% 0.132 315.5), rgb(148, 92, 171).

Aa

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

About this color

#945CAB is a medium-dark, moderately saturated purple. In OKLCH its lightness is 57%, its chroma 0.132 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.022 away. White text reads best on it, at 4.79:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.132)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.37:1
White text4.79:1

Values

HEX#945CAB
RGBrgb(148, 92, 171)
HSLhsl(283, 32%, 52%)
OKLCHoklch(56.8% 0.132 315.5)

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 #945CAB 4.79:1 AA Lc -78.5 Fine for body text
Black text on #945CAB 4.37:1 AA large text Lc 31.0 Non-text elements, placeholder text
#945CAB text on white 4.79:1 AA Lc 73.1 Content text, not long reading
#945CAB text on black 4.37:1 AA large text Lc -28.6 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F2

    oklch(93.7% 0.016 313.6)

  3. Step 200

    200

    #E2D3E8

    oklch(88.5% 0.033 316.4)

  4. Step 300

    300

    #D0B6DB

    oklch(81% 0.058 315.9)

  5. Step 400

    400

    #B78EC9

    oklch(70.6% 0.095 315.3)

  6. Step 500

    500

    #A571BB

    oklch(63% 0.122 315.4)

  7. Step 600

    600 (this color)

    #945CAB

    oklch(56.8% 0.132 315.5)

  8. Step 700

    700

    #7B488F

    oklch(49.1% 0.122 315.8)

  9. Step 800

    800

    #643C74

    oklch(42.8% 0.1 315.7)

  10. Step 900

    900

    #51335E

    oklch(37.6% 0.08 315.1)

  11. Step 950

    950

    #301E37

    oklch(26.9% 0.051 316.1)

Export this scale for Tailwind in the Tailwind colors tool

#945CAB 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)#4D6FAE0.112
Deuteranopia (no green cones)#5C74A90.102
Tritanopia (no blue cones)#93677B0.088
Achromatopsia (no color)#7272720.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #945CAB

    #945CAB

    oklch(56.8% 0.132 315.5)

  • #528731

    #528731

    oklch(56.7% 0.131 135.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #945CAB

    #945CAB

    oklch(56.8% 0.132 315.5)

  • #7169C0

    #7169C0

    oklch(56.8% 0.131 285.6)

  • #AC5388

    #AC5388

    oklch(56.8% 0.132 345.4)

Open the analogous palette in the generator

Split complementary

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

  • #945CAB

    #945CAB

    oklch(56.8% 0.132 315.5)

  • #817A00

    #817A00

    oklch(56.8% 0.121 105.6)

  • #008C66

    #008C66

    oklch(56.7% 0.118 165.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #945CAB

    #945CAB

    oklch(56.8% 0.132 315.5)

  • #9F6B00

    #9F6B00

    oklch(56.8% 0.12 75.4)

  • #008889

    #008889

    oklch(56.8% 0.097 195.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #945CAB

    #945CAB

    oklch(56.8% 0.132 315.5)

  • #B45A2B

    #B45A2B

    oklch(56.8% 0.131 45.9)

  • #528731

    #528731

    oklch(56.7% 0.131 135.3)

  • #0083A7

    #0083A7

    oklch(56.8% 0.108 225.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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