#945EC5

Closest named color: Amethyst (#9B5FC0). oklch(58.5% 0.159 306.3), rgb(148, 94, 197).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.159)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.66:1
White text4.50:1

Values

HEX#945EC5
RGBrgb(148, 94, 197)
HSLhsl(271, 47%, 57%)
OKLCHoklch(58.5% 0.159 306.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 #945EC5 4.50:1 AA Lc -76.4 Fine for body text
Black text on #945EC5 4.66:1 AA Lc 33.1 Non-text elements, placeholder text
#945EC5 text on white 4.50:1 AA Lc 71.0 Content text, not long reading
#945EC5 text on black 4.66:1 AA Lc -30.7 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

    #EDE7F5

    oklch(93.7% 0.02 305.3)

  3. Step 200

    200

    #E0D3EE

    oklch(88.6% 0.039 307.2)

  4. Step 300

    300

    #CCB5E6

    oklch(80.9% 0.072 306.1)

  5. Step 400

    400

    #B38DD9

    oklch(70.7% 0.115 306.6)

  6. Step 500

    500

    #A06FCE

    oklch(63.1% 0.146 306.5)

  7. Step 600

    600 (this color)

    #945EC5

    oklch(58.5% 0.159 306.3)

  8. Step 700

    700

    #7645A1

    oklch(49.1% 0.147 306.3)

  9. Step 800

    800

    #603983

    oklch(42.7% 0.123 306.2)

  10. Step 900

    900

    #4E3269

    oklch(37.7% 0.095 305.8)

  11. Step 950

    950

    #2E1E3D

    oklch(27% 0.059 306.7)

Export this scale for Tailwind in the Tailwind colors tool

#945EC5 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)#3E75C90.124
Deuteranopia (no green cones)#4F77C20.112
Tritanopia (no blue cones)#8C70890.115
Achromatopsia (no color)#7777770.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #945EC5

    #945EC5

    oklch(58.5% 0.159 306.3)

  • #658B00

    #658B00

    oklch(58.6% 0.15 126.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #945EC5

    #945EC5

    oklch(58.5% 0.159 306.3)

  • #656FD8

    #656FD8

    oklch(58.6% 0.159 276.2)

  • #B4519F

    #B4519F

    oklch(58.6% 0.159 336.3)

Open the analogous palette in the generator

Split complementary

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

  • #945EC5

    #945EC5

    oklch(58.5% 0.159 306.3)

  • #917B00

    #917B00

    oklch(58.6% 0.121 96.5)

  • #009457

    #009457

    oklch(58.6% 0.142 156.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #945EC5

    #945EC5

    oklch(58.5% 0.159 306.3)

  • #AF6A00

    #AF6A00

    oklch(58.7% 0.13 66.5)

  • #008F85

    #008F85

    oklch(58.5% 0.103 186.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #945EC5

    #945EC5

    oklch(58.5% 0.159 306.3)

  • #C85130

    #C85130

    oklch(58.6% 0.159 36.2)

  • #658B00

    #658B00

    oklch(58.6% 0.15 126.5)

  • #008BA3

    #008BA3

    oklch(58.6% 0.104 215.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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