#9928B2#9928B2

#9928B2 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.215 H 319.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9928B2
RGBrgb(153, 40, 178)
HSLhsl(289, 63%, 43%)
HSVhsv(289, 78%, 70%)
CMYKcmyk(14%, 77.5%, 0%, 30.2%)
CIE-LABlab(40.42, 63.49, -49.66)
CIE-LCHlch(40.42, 80.60, 321.97°)
OKLaboklab(51.46% 0.1631 -0.1395)
OKLCHoklch(51.46% 0.215 319.5)
XYZxyz(21.9305, 11.5053, 43.1764)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9928B2 #41B228
analogous
#5428B2 #9928B2 #B22886
triadic
#9928B2 #B29928 #28B299
tetradic
#9928B2 #B25428 #41B228 #2886B2
square
#9928B2 #B25428 #41B228 #2886B2
split-complementary
#9928B2 #86B228 #28B254
monochromatic
#43124E #6E1D80 #9928B2 #BA43D5 #CC75E0

Accessibility & contrast

On white

6.36
#9928B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9928B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9928B2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9928B2#FFFFFF#000000##FFFFFF
##9928B21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#3463AF
Tritanopia (blue-blind)
#99466D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9928b2;
/* rgb */ color: rgb(153, 40, 178);
/* oklch */ color: oklch(51.5% 0.215 319.5);
Tailwind
colors: {
  custom: {
    50: '#bb6fca',
    500: '#9928b2',
    950: '#000000',
  },
}
SCSS
$custom: #9928b2;
$custom-light: #bb6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#9928b2",
  "rgb": {
    "r": 153,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 289.13,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51458,
    "c": 0.21463,
    "h": 319.5
  },
  "luminance": 0.11504
}

Semantic roles & 50–950 ramp

primary
#9928B2
secondary
#7FC76F
accent
#E6415F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9928B2

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

Preview Lab → · Contrast checker → · Palette generator →

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