#9828EA

Closest named color: Blue Violet (#8A2BE2). oklch(55.5% 0.262 304.7), rgb(152, 40, 234).

Aa

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

About this color

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

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

Values

HEX#9828EA
RGBrgb(152, 40, 234)
HSLhsl(275, 82%, 54%)
OKLCHoklch(55.5% 0.262 304.7)

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 #9828EA 5.48:1 AA Lc -81.3 Fine for body text
Black text on #9828EA 3.82:1 AA large text Lc 28.2 Dividers and decoration only
#9828EA text on white 5.48:1 AA Lc 75.9 Fine for body text
#9828EA text on black 3.82:1 AA large text Lc -25.8 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

    #EFE5FD

    oklch(93.7% 0.034 304.5)

  3. Step 200

    200

    #E3CFFD

    oklch(88.5% 0.066 304.8)

  4. Step 300

    300

    #D2ADFE

    oklch(80.9% 0.118 304.8)

  5. Step 400

    400

    #BC7DFE

    oklch(70.8% 0.189 304.6)

  6. Step 500

    500

    #AC52FB

    oklch(63.1% 0.241 304.8)

  7. Step 600

    600 (this color)

    #9828EA

    oklch(55.5% 0.262 304.7)

  8. Step 700

    700

    #8215CC

    oklch(49.1% 0.244 304.6)

  9. Step 800

    800

    #6A19A5

    oklch(42.8% 0.202 304.8)

  10. Step 900

    900

    #551F83

    oklch(37.7% 0.158 304.3)

  11. Step 950

    950

    #32144C

    oklch(26.9% 0.1 305.2)

Export this scale for Tailwind in the Tailwind colors tool

#9828EA 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)#0067EF0.189
Deuteranopia (no green cones)#0069E60.191
Tritanopia (no blue cones)#88608D0.185
Achromatopsia (no color)#6969690.264

Harmonies

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

Complementary

The opposite hue (180°).

  • #9828EA

    #9828EA

    oklch(55.5% 0.262 304.7)

  • #618000

    #618000

    oklch(55.5% 0.139 124.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9828EA

    #9828EA

    oklch(55.5% 0.262 304.7)

  • #5253FF

    #5253FF

    oklch(55.5% 0.247 274.6)

  • #C100AB

    #C100AB

    oklch(55.6% 0.248 334.8)

Open the analogous palette in the generator

Split complementary

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

  • #9828EA

    #9828EA

    oklch(55.5% 0.262 304.7)

  • #887100

    #887100

    oklch(55.4% 0.114 94.8)

  • #008A4D

    #008A4D

    oklch(55.6% 0.138 154.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9828EA

    #9828EA

    oklch(55.5% 0.262 304.7)

  • #A46100

    #A46100

    oklch(55.6% 0.125 64.9)

  • #00857A

    #00857A

    oklch(55.4% 0.098 184.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9828EA

    #9828EA

    oklch(55.5% 0.262 304.7)

  • #CC3200

    #CC3200

    oklch(55.5% 0.196 34.7)

  • #618000

    #618000

    oklch(55.5% 0.139 124.8)

  • #008196

    #008196

    oklch(55.5% 0.098 214.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9828EA.

Similar named colors

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

Use #9828EA 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.