#9A28E7

Closest named color: Blue Violet (#8A2BE2). oklch(55.5% 0.26 306), rgb(154, 40, 231).

Aa

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

About this color

#9A28E7 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.260 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Blue Violet (#8A2BE2), ΔE 0.031 away. White text reads best on it, at 5.48:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.260)
Temperaturein between
Nearest nameBlue Violet (#8A2BE2)
Black text3.83:1
White text5.48:1

Values

HEX#9A28E7
RGBrgb(154, 40, 231)
HSLhsl(276, 80%, 53%)
OKLCHoklch(55.5% 0.26 306)

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 #9A28E7 5.48:1 AA Lc -81.2 Fine for body text
Black text on #9A28E7 3.83:1 AA large text Lc 28.2 Dividers and decoration only
#9A28E7 text on white 5.48:1 AA Lc 75.9 Fine for body text
#9A28E7 text on black 3.83:1 AA large text Lc -25.9 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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #EFE5FC

    oklch(93.7% 0.032 305.3)

  3. Step 200

    200

    #E4CFFC

    oklch(88.6% 0.065 306.2)

  4. Step 300

    300

    #D3ADFD

    oklch(80.9% 0.117 305.7)

  5. Step 400

    400

    #BE7CFB

    oklch(70.7% 0.187 306.2)

  6. Step 500

    500

    #AE52F8

    oklch(63.1% 0.239 306)

  7. Step 600

    600 (this color)

    #9A28E7

    oklch(55.5% 0.26 306)

  8. Step 700

    700

    #8415C9

    oklch(49.1% 0.242 306.1)

  9. Step 800

    800

    #6B19A3

    oklch(42.8% 0.2 305.8)

  10. Step 900

    900

    #571F81

    oklch(37.8% 0.156 306.2)

  11. Step 950

    950

    #33144C

    oklch(27% 0.1 306.2)

Export this scale for Tailwind in the Tailwind colors tool

#9A28E7 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)#0066EC0.193
Deuteranopia (no green cones)#0069E30.195
Tritanopia (no blue cones)#8C5E8B0.182
Achromatopsia (no color)#6969690.262

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A28E7

    #9A28E7

    oklch(55.5% 0.26 306)

  • #5E8100

    #5E8100

    oklch(55.6% 0.142 126.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A28E7

    #9A28E7

    oklch(55.5% 0.26 306)

  • #5651FF

    #5651FF

    oklch(55.5% 0.248 275.9)

  • #C200A8

    #C200A8

    oklch(55.6% 0.246 336)

Open the analogous palette in the generator

Split complementary

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

  • #9A28E7

    #9A28E7

    oklch(55.5% 0.26 306)

  • #877200

    #877200

    oklch(55.5% 0.114 96.2)

  • #008950

    #008950

    oklch(55.4% 0.134 156.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A28E7

    #9A28E7

    oklch(55.5% 0.26 306)

  • #A36200

    #A36200

    oklch(55.6% 0.124 66.2)

  • #00857C

    #00857C

    oklch(55.5% 0.097 186.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A28E7

    #9A28E7

    oklch(55.5% 0.26 306)

  • #C93700

    #C93700

    oklch(55.4% 0.19 36)

  • #5E8100

    #5E8100

    oklch(55.6% 0.142 126.3)

  • #008198

    #008198

    oklch(55.6% 0.099 216.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9A28E7.

Similar named colors

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

Use #9A28E7 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.