#9936CD#9936CD

#9936CD is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.6% C 0.224 H 311.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9936CD
RGBrgb(153, 54, 205)
HSLhsl(279, 60%, 51%)
HSVhsv(279, 74%, 80%)
CMYKcmyk(25.4%, 73.7%, 0%, 19.6%)
CIE-LABlab(43.97, 63.87, -59.72)
CIE-LCHlch(43.97, 87.44, 316.92°)
OKLaboklab(54.55% 0.1468 -0.1691)
OKLCHoklch(54.55% 0.224 311)
XYZxyz(25.4734, 13.8190, 59.0712)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9936CD #6ACD36
analogous
#4D36CD #9936CD #CD36B5
triadic
#9936CD #CD9936 #36CD99
tetradic
#9936CD #CD4D36 #6ACD36 #36B5CD
square
#9936CD #CD4D36 #6ACD36 #36B5CD
split-complementary
#9936CD #B5CD36 #36CD4D
monochromatic
#511B6D #75279E #9936CD #B267D9 #CB98E5

Accessibility & contrast

On white

5.58
#9936CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9936CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9936CD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9936CD#FFFFFF#000000##FFFFFF
##9936CD1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#196ACA
Tritanopia (blue-blind)
#92597F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9936cd;
/* rgb */ color: rgb(153, 54, 205);
/* oklch */ color: oklch(54.6% 0.224 311.0);
Tailwind
colors: {
  custom: {
    50: '#bc77dd',
    500: '#9936cd',
    950: '#000000',
  },
}
SCSS
$custom: #9936cd;
$custom-light: #bc77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9936cd",
  "rgb": {
    "r": 153,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 279.338,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54552,
    "c": 0.22394,
    "h": 311
  },
  "luminance": 0.13818
}

Semantic roles & 50–950 ramp

primary
#9936CD
secondary
#A5D18E
accent
#E3447B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9936CD

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

Preview Lab → · Contrast checker → · Palette generator →

#9936CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva