#9936D1#9936D1

#9936D1 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.8% C 0.228 H 309.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9936D1
RGBrgb(153, 54, 209)
HSLhsl(278, 63%, 52%)
HSVhsv(278, 74%, 82%)
CMYKcmyk(26.8%, 74.2%, 0%, 18%)
CIE-LABlab(44.25, 64.70, -61.57)
CIE-LCHlch(44.25, 89.32, 316.42°)
OKLaboklab(54.84% 0.1462 -0.1745)
OKLCHoklch(54.84% 0.228 309.9)
XYZxyz(25.9624, 14.0146, 61.6467)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9936D1 #6ED136
analogous
#4C36D1 #9936D1 #D136BB
triadic
#9936D1 #D19936 #36D199
tetradic
#9936D1 #D14C36 #6ED136 #36BBD1
square
#9936D1 #D14C36 #6ED136 #36BBD1
split-complementary
#9936D1 #BBD136 #36D14C
monochromatic
#531A72 #7626A4 #9936D1 #B268DC #CC9AE8

Accessibility & contrast

On white

5.52
#9936D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9936D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9936D1
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9936D1#FFFFFF#000000##FFFFFF
##9936D11.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#0B6ACE
Tritanopia (blue-blind)
#915B81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9936d1;
/* rgb */ color: rgb(153, 54, 209);
/* oklch */ color: oklch(54.8% 0.228 309.9);
Tailwind
colors: {
  custom: {
    50: '#bc77e0',
    500: '#9936d1',
    950: '#000000',
  },
}
SCSS
$custom: #9936d1;
$custom-light: #bc77e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9936d1",
  "rgb": {
    "r": 153,
    "g": 54,
    "b": 209
  },
  "hsl": {
    "h": 278.323,
    "s": 62.753,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5484,
    "c": 0.22765,
    "h": 309.9
  },
  "luminance": 0.14014
}

Semantic roles & 50–950 ramp

primary
#9936D1
secondary
#A8D38F
accent
#E6427D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9936D1

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

Preview Lab → · Contrast checker → · Palette generator →

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