#9935CB#9935CB

#9935CB is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.223 H 311.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9935CB
RGBrgb(153, 53, 203)
HSLhsl(280, 59%, 50%)
HSVhsv(280, 74%, 80%)
CMYKcmyk(24.6%, 73.9%, 0%, 20.4%)
CIE-LABlab(43.70, 63.83, -59.00)
CIE-LCHlch(43.70, 86.93, 317.25°)
OKLaboklab(54.31% 0.1481 -0.167)
OKLCHoklch(54.31% 0.223 311.6)
XYZxyz(25.1874, 13.6310, 57.7925)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9935CB #67CB35
analogous
#4E35CB #9935CB #CB35B2
triadic
#9935CB #CB9935 #35CB99
tetradic
#9935CB #CB4E35 #67CB35 #35B2CB
square
#9935CB #CB4E35 #67CB35 #35B2CB
split-complementary
#9935CB #B2CB35 #35CB4E
monochromatic
#501B6A #75289B #9935CB #B266D8 #CA96E4

Accessibility & contrast

On white

5.64
#9935CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9935CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9935CB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9935CB#FFFFFF#000000##FFFFFF
##9935CB1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#1C69C8
Tritanopia (blue-blind)
#93577E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9935cb;
/* rgb */ color: rgb(153, 53, 203);
/* oklch */ color: oklch(54.3% 0.223 311.6);
Tailwind
colors: {
  custom: {
    50: '#bc76dc',
    500: '#9935cb',
    950: '#000000',
  },
}
SCSS
$custom: #9935cb;
$custom-light: #bc76dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9935cb",
  "rgb": {
    "r": 153,
    "g": 53,
    "b": 203
  },
  "hsl": {
    "h": 280,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54314,
    "c": 0.22317,
    "h": 311.6
  },
  "luminance": 0.1363
}

Semantic roles & 50–950 ramp

primary
#9935CB
secondary
#A3CF8C
accent
#E2467A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9935CB

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

Preview Lab → · Contrast checker → · Palette generator →

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