#945CA9

Closest named color: Deep Lavender (#8D5EB7). oklch(56.7% 0.129 316.3), rgb(148, 92, 169).

Aa

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

About this color

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

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

Values

HEX#945CA9
RGBrgb(148, 92, 169)
HSLhsl(284, 31%, 51%)
OKLCHoklch(56.7% 0.129 316.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 #945CA9 4.81:1 AA Lc -78.6 Fine for body text
Black text on #945CA9 4.36:1 AA large text Lc 30.9 Non-text elements, placeholder text
#945CA9 text on white 4.81:1 AA Lc 73.2 Content text, not long reading
#945CA9 text on black 4.36:1 AA large text Lc -28.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

    #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

    #D0B6DA

    oklch(81% 0.057 316.6)

  5. Step 400

    400

    #B88FC8

    oklch(70.8% 0.093 316.3)

  6. Step 500

    500

    #A672BA

    oklch(63.2% 0.119 316.2)

  7. Step 600

    600 (this color)

    #945CA9

    oklch(56.7% 0.129 316.3)

  8. Step 700

    700

    #7B488E

    oklch(49% 0.121 316.3)

  9. Step 800

    800

    #643C73

    oklch(42.7% 0.099 316.3)

  10. Step 900

    900

    #52345D

    oklch(37.8% 0.077 316.6)

  11. Step 950

    950

    #301F36

    oklch(27.1% 0.047 317)

Export this scale for Tailwind in the Tailwind colors tool

#945CA9 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)#4E6EAC0.111
Deuteranopia (no green cones)#5D74A70.101
Tritanopia (no blue cones)#93677A0.087
Achromatopsia (no color)#7272720.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #945CA9

    #945CA9

    oklch(56.7% 0.129 316.3)

  • #518734

    #518734

    oklch(56.7% 0.129 136.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #945CA9

    #945CA9

    oklch(56.7% 0.129 316.3)

  • #7269BE

    #7269BE

    oklch(56.8% 0.128 286.4)

  • #AB5386

    #AB5386

    oklch(56.6% 0.13 346.2)

Open the analogous palette in the generator

Split complementary

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

  • #945CA9

    #945CA9

    oklch(56.7% 0.129 316.3)

  • #807A00

    #807A00

    oklch(56.7% 0.121 106.2)

  • #008C67

    #008C67

    oklch(56.8% 0.117 166.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #945CA9

    #945CA9

    oklch(56.7% 0.129 316.3)

  • #9E6B00

    #9E6B00

    oklch(56.7% 0.119 76)

  • #008889

    #008889

    oklch(56.8% 0.097 195.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #945CA9

    #945CA9

    oklch(56.7% 0.129 316.3)

  • #B35A2B

    #B35A2B

    oklch(56.7% 0.13 46.1)

  • #518734

    #518734

    oklch(56.7% 0.129 136.2)

  • #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 #945CA9, closest first.

Similar named colors

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

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