#9928BD#9928BD

#9928BD is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.224 H 316.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9928BD
RGBrgb(153, 40, 189)
HSLhsl(286, 65%, 45%)
HSVhsv(286, 79%, 74%)
CMYKcmyk(19%, 78.8%, 0%, 25.9%)
CIE-LABlab(41.16, 65.56, -54.95)
CIE-LCHlch(41.16, 85.54, 320.03°)
OKLaboklab(52.22% 0.1615 -0.155)
OKLCHoklch(52.22% 0.224 316.2)
XYZxyz(23.0795, 11.9650, 49.2280)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9928BD #4CBD28
analogous
#4E28BD #9928BD #BD2897
triadic
#9928BD #BD9928 #28BD99
tetradic
#9928BD #BD4E28 #4CBD28 #2897BD
square
#9928BD #BD4E28 #4CBD28 #2897BD
split-complementary
#9928BD #97BD28 #28BD4E
monochromatic
#471358 #701D8A #9928BD #B64AD9 #CA7CE3

Accessibility & contrast

On white

6.19
#9928BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9928BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9928BD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9928BD#FFFFFF#000000##FFFFFF
##9928BD1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#2664BA
Tritanopia (blue-blind)
#974B73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9928bd;
/* rgb */ color: rgb(153, 40, 189);
/* oklch */ color: oklch(52.2% 0.224 316.2);
Tailwind
colors: {
  custom: {
    50: '#bc70d2',
    500: '#9928bd',
    950: '#000000',
  },
}
SCSS
$custom: #9928bd;
$custom-light: #bc70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9928bd",
  "rgb": {
    "r": 153,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 285.503,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52216,
    "c": 0.22385,
    "h": 316.2
  },
  "luminance": 0.11964
}

Semantic roles & 50–950 ramp

primary
#9928BD
secondary
#8ACB75
accent
#E84068
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9928BD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9928BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva