#9934CB#9934CB

#9934CB is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.224 H 311.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9934CB
RGBrgb(153, 52, 203)
HSLhsl(280, 59%, 50%)
HSVhsv(280, 74%, 80%)
CMYKcmyk(24.6%, 74.4%, 0%, 20.4%)
CIE-LABlab(43.57, 64.21, -59.22)
CIE-LCHlch(43.57, 87.35, 317.32°)
OKLaboklab(54.22% 0.149 -0.1676)
OKLCHoklch(54.22% 0.224 311.6)
XYZxyz(25.1423, 13.5407, 57.7775)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9934CB #66CB34
analogous
#4D34CB #9934CB #CB34B2
triadic
#9934CB #CB9934 #34CB99
tetradic
#9934CB #CB4D34 #66CB34 #34B2CB
square
#9934CB #CB4D34 #66CB34 #34B2CB
split-complementary
#9934CB #B2CB34 #34CB4D
monochromatic
#501B6A #74289A #9934CB #B165D7 #CA95E4

Accessibility & contrast

On white

5.66
#9934CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9934CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9934CB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9934CB#FFFFFF#000000##FFFFFF
##9934CB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#1A69C8
Tritanopia (blue-blind)
#93577D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9934cb;
/* rgb */ color: rgb(153, 52, 203);
/* oklch */ color: oklch(54.2% 0.224 311.6);
Tailwind
colors: {
  custom: {
    50: '#bc76dc',
    500: '#9934cb',
    950: '#000000',
  },
}
SCSS
$custom: #9934cb;
$custom-light: #bc76dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9934cb",
  "rgb": {
    "r": 153,
    "g": 52,
    "b": 203
  },
  "hsl": {
    "h": 280.132,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.54221,
    "c": 0.22424,
    "h": 311.6
  },
  "luminance": 0.1354
}

Semantic roles & 50–950 ramp

primary
#9934CB
secondary
#A2CF8C
accent
#E24579
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9934CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9934CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva