#9935CA#9935CA

#9935CA is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.222 H 311.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9935CA
RGBrgb(153, 53, 202)
HSLhsl(280, 58%, 50%)
HSVhsv(280, 74%, 79%)
CMYKcmyk(24.3%, 73.8%, 0%, 20.8%)
CIE-LABlab(43.63, 63.63, -58.54)
CIE-LCHlch(43.63, 86.46, 317.39°)
OKLaboklab(54.24% 0.1482 -0.1656)
OKLCHoklch(54.24% 0.222 311.8)
XYZxyz(25.0687, 13.5835, 57.1670)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9935CA #66CA35
analogous
#4E35CA #9935CA #CA35B1
triadic
#9935CA #CA9935 #35CA99
tetradic
#9935CA #CA4E35 #66CA35 #35B1CA
square
#9935CA #CA4E35 #66CA35 #35B1CA
split-complementary
#9935CA #B1CA35 #35CA4E
monochromatic
#501C69 #74289A #9935CA #B165D7 #CA96E3

Accessibility & contrast

On white

5.65
#9935CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9935CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9935CA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9935CA#FFFFFF#000000##FFFFFF
##9935CA1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9935ca;
/* rgb */ color: rgb(153, 53, 202);
/* oklch */ color: oklch(54.2% 0.222 311.8);
Tailwind
colors: {
  custom: {
    50: '#bc76db',
    500: '#9935ca',
    950: '#000000',
  },
}
SCSS
$custom: #9935ca;
$custom-light: #bc76db;
$custom-dark: #000000;
JSON
{
  "hex": "#9935ca",
  "rgb": {
    "r": 153,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 280.268,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.54243,
    "c": 0.22225,
    "h": 311.8
  },
  "luminance": 0.13583
}

Semantic roles & 50–950 ramp

primary
#9935CA
secondary
#A2CF8C
accent
#E24679
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9935CA

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

Preview Lab → · Contrast checker → · Palette generator →

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