#9936DB#9936DB

#9936DB is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.6% C 0.237 H 307.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9936DB
RGBrgb(153, 54, 219)
HSLhsl(276, 70%, 54%)
HSVhsv(276, 75%, 86%)
CMYKcmyk(30.1%, 75.3%, 0%, 14.1%)
CIE-LABlab(44.98, 66.82, -66.13)
CIE-LCHlch(44.98, 94.01, 315.30°)
OKLaboklab(55.58% 0.1443 -0.1879)
OKLCHoklch(55.58% 0.237 307.5)
XYZxyz(27.2395, 14.5255, 68.3728)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9936DB #78DB36
analogous
#4636DB #9936DB #DB36CA
triadic
#9936DB #DB9936 #36DB99
tetradic
#9936DB #DB4636 #78DB36 #36CADB
square
#9936DB #DB4636 #78DB36 #36CADB
split-complementary
#9936DB #CADB36 #36DB46
monochromatic
#561780 #7920B4 #9936DB #B36AE4 #CE9EEE

Accessibility & contrast

On white

5.38
#9936DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9936DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9936DB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9936DB#FFFFFF#000000##FFFFFF
##9936DB1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E0
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#8E5F87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9936db;
/* rgb */ color: rgb(153, 54, 219);
/* oklch */ color: oklch(55.6% 0.237 307.5);
Tailwind
colors: {
  custom: {
    50: '#bd77e7',
    500: '#9936db',
    950: '#000000',
  },
}
SCSS
$custom: #9936db;
$custom-light: #bd77e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9936db",
  "rgb": {
    "r": 153,
    "g": 54,
    "b": 219
  },
  "hsl": {
    "h": 276,
    "s": 69.62,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55577,
    "c": 0.23693,
    "h": 307.5
  },
  "luminance": 0.14525
}

Semantic roles & 50–950 ramp

primary
#9936DB
secondary
#AFDA93
accent
#EC3B82
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9936DB

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

Preview Lab → · Contrast checker → · Palette generator →

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