#945FCD

Closest named color: Amethyst (#9B5FC0). oklch(59.2% 0.167 304), rgb(148, 95, 205).

Aa

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

About this color

#945FCD is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.167 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.024 away. Black text reads best on it, at 4.77:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.167)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.77:1
White text4.39:1

Values

HEX#945FCD
RGBrgb(148, 95, 205)
HSLhsl(269, 52%, 59%)
OKLCHoklch(59.2% 0.167 304)

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 #945FCD 4.39:1 AA large text Lc -75.6 Fine for body text
Black text on #945FCD 4.77:1 AA Lc 33.9 Non-text elements, placeholder text
#945FCD text on white 4.39:1 AA large text Lc 70.2 Content text, not long reading
#945FCD text on black 4.77:1 AA Lc -31.5 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 600.

  1. Step 50

    50

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE7F6

    oklch(93.7% 0.021 304)

  3. Step 200

    200

    #DFD3F0

    oklch(88.5% 0.041 304.3)

  4. Step 300

    300

    #CBB5E9

    oklch(80.9% 0.076 304)

  5. Step 400

    400

    #B18DDD

    oklch(70.7% 0.12 304.2)

  6. Step 500

    500

    #9E6ED4

    oklch(63% 0.154 304)

  7. Step 600

    600 (this color)

    #945FCD

    oklch(59.2% 0.167 304)

  8. Step 700

    700

    #7544A7

    oklch(49.2% 0.155 304.1)

  9. Step 800

    800

    #5F3887

    oklch(42.7% 0.129 304.2)

  10. Step 900

    900

    #4D316C

    oklch(37.6% 0.101 303.9)

  11. Step 950

    950

    #2D1D3F

    oklch(26.8% 0.064 304.2)

Export this scale for Tailwind in the Tailwind colors tool

#945FCD 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)#3977D10.127
Deuteranopia (no green cones)#4A78CA0.115
Tritanopia (no blue cones)#8A748D0.125
Achromatopsia (no color)#7878780.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #945FCD

    #945FCD

    oklch(59.2% 0.167 304)

  • #6C8B00

    #6C8B00

    oklch(59.1% 0.147 123.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #945FCD

    #945FCD

    oklch(59.2% 0.167 304)

  • #6171DF

    #6171DF

    oklch(59.2% 0.167 274)

  • #B651A6

    #B651A6

    oklch(59.2% 0.166 333.9)

Open the analogous palette in the generator

Split complementary

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

  • #945FCD

    #945FCD

    oklch(59.2% 0.167 304)

  • #967B00

    #967B00

    oklch(59.1% 0.121 93.5)

  • #009652

    #009652

    oklch(59.1% 0.149 154)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #945FCD

    #945FCD

    oklch(59.2% 0.167 304)

  • #B46900

    #B46900

    oklch(59.2% 0.134 63.6)

  • #009285

    #009285

    oklch(59.3% 0.105 183.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #945FCD

    #945FCD

    oklch(59.2% 0.167 304)

  • #CE4F33

    #CE4F33

    oklch(59.3% 0.167 34)

  • #6C8B00

    #6C8B00

    oklch(59.1% 0.147 123.9)

  • #008DA3

    #008DA3

    oklch(59.1% 0.104 213.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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