#9828A7

Closest named color: Purply (#983FB2). oklch(50.6% 0.205 322.7), rgb(152, 40, 167).

Aa

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

About this color

#9828A7 is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.205 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.039 away. White text reads best on it, at 6.56:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.205)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.19:1
White text6.56:1

Values

HEX#9828A7
RGBrgb(152, 40, 167)
HSLhsl(293, 61%, 41%)
OKLCHoklch(50.6% 0.205 322.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 #9828A7 6.56:1 AA Lc -86.5 Fine for body text
Black text on #9828A7 3.19:1 AA large text Lc 22.7 Dividers and decoration only
#9828A7 text on white 6.56:1 AA Lc 81.3 Fine for body text
#9828A7 text on black 3.19:1 AA large text Lc -20.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 700.

  1. Step 50

    50

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F4E4F5

    oklch(93.7% 0.028 324)

  3. Step 200

    200

    #EBCEEF

    oklch(88.6% 0.054 322.2)

  4. Step 300

    300

    #E0ABE6

    oklch(80.9% 0.099 323)

  5. Step 400

    400

    #CF7CDA

    oklch(70.8% 0.159 322.7)

  6. Step 500

    500

    #C054CF

    oklch(63% 0.203 322.6)

  7. Step 600

    600

    #AC32BC

    oklch(55.6% 0.22 322.8)

  8. Step 700

    700 (this color)

    #9828A7

    oklch(50.6% 0.205 322.7)

  9. Step 800

    800

    #782083

    oklch(42.8% 0.169 323)

  10. Step 900

    900

    #612169

    oklch(37.7% 0.133 323.1)

  11. Step 950

    950

    #39153E

    oklch(27% 0.084 322.6)

Export this scale for Tailwind in the Tailwind colors tool

#9828A7 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)#0055AA0.209
Deuteranopia (no green cones)#3C61A40.181
Tritanopia (no blue cones)#9A41660.123
Achromatopsia (no color)#5D5D5D0.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #9828A7

    #9828A7

    oklch(50.6% 0.205 322.7)

  • #007B03

    #007B03

    oklch(50.5% 0.171 142.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9828A7

    #9828A7

    oklch(50.6% 0.205 322.7)

  • #6E3FCD

    #6E3FCD

    oklch(50.6% 0.206 292.7)

  • #B30970

    #B30970

    oklch(50.6% 0.205 352.4)

Open the analogous palette in the generator

Split complementary

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

  • #9828A7

    #9828A7

    oklch(50.6% 0.205 322.7)

  • #666B00

    #666B00

    oklch(50.6% 0.113 113)

  • #00775F

    #00775F

    oklch(50.7% 0.098 172.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9828A7

    #9828A7

    oklch(50.6% 0.205 322.7)

  • #825E00

    #825E00

    oklch(50.6% 0.104 82.4)

  • #00737A

    #00737A

    oklch(50.6% 0.086 202.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9828A7

    #9828A7

    oklch(50.6% 0.205 322.7)

  • #9C4B00

    #9C4B00

    oklch(50.6% 0.129 52.5)

  • #007B03

    #007B03

    oklch(50.5% 0.171 142.7)

  • #006E96

    #006E96

    oklch(50.6% 0.104 232.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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