#9923CA#9923CA

#9923CA is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.8% C 0.239 H 312.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9923CA
RGBrgb(153, 35, 202)
HSLhsl(282, 70%, 46%)
HSVhsv(282, 83%, 79%)
CMYKcmyk(24.3%, 82.7%, 0%, 20.8%)
CIE-LABlab(41.59, 69.51, -61.83)
CIE-LCHlch(41.59, 93.03, 318.34°)
OKLaboklab(52.81% 0.1625 -0.1752)
OKLCHoklch(52.81% 0.239 312.9)
XYZxyz(24.3966, 12.2394, 56.9430)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9923CA #54CA23
analogous
#4623CA #9923CA #CA23A8
triadic
#9923CA #CA9923 #23CA99
tetradic
#9923CA #CA4623 #54CA23 #23A8CA
square
#9923CA #CA4623 #54CA23 #23A8CA
split-complementary
#9923CA #A8CA23 #23CA46
monochromatic
#4A1162 #711A96 #9923CA #B44AE0 #CA7FE9

Accessibility & contrast

On white

6.09
#9923CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9923CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9923CA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9923CA#FFFFFF#000000##FFFFFF
##9923CA1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#934F79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9923ca;
/* rgb */ color: rgb(153, 35, 202);
/* oklch */ color: oklch(52.8% 0.239 312.9);
Tailwind
colors: {
  custom: {
    50: '#bc6fdb',
    500: '#9923ca',
    950: '#000000',
  },
}
SCSS
$custom: #9923ca;
$custom-light: #bc6fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9923ca",
  "rgb": {
    "r": 153,
    "g": 35,
    "b": 202
  },
  "hsl": {
    "h": 282.395,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52813,
    "c": 0.23894,
    "h": 312.9
  },
  "luminance": 0.12239
}

Semantic roles & 50–950 ramp

primary
#9923CA
secondary
#92D178
accent
#ED3B6F
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9923CA

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

Preview Lab → · Contrast checker → · Palette generator →

#9923CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva