#9935DC#9935DC

#9935DC is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.6% C 0.239 H 307.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9935DC
RGBrgb(153, 53, 220)
HSLhsl(276, 70%, 54%)
HSVhsv(276, 76%, 86%)
CMYKcmyk(30.5%, 75.9%, 0%, 13.7%)
CIE-LABlab(44.92, 67.40, -66.79)
CIE-LCHlch(44.92, 94.89, 315.26°)
OKLaboklab(55.56% 0.1449 -0.1899)
OKLCHoklch(55.56% 0.239 307.4)
XYZxyz(27.3255, 14.4862, 69.0529)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9935DC #78DC35
analogous
#4535DC #9935DC #DC35CB
triadic
#9935DC #DC9935 #35DC99
tetradic
#9935DC #DC4535 #78DC35 #35CBDC
square
#9935DC #DC4535 #78DC35 #35CBDC
split-complementary
#9935DC #CBDC35 #35DC45
monochromatic
#561680 #791FB5 #9935DC #B369E5 #CE9DEE

Accessibility & contrast

On white

5.39
#9935DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9935DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9935DC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9935DC#FFFFFF#000000##FFFFFF
##9935DC1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9935dc;
/* rgb */ color: rgb(153, 53, 220);
/* oklch */ color: oklch(55.6% 0.239 307.4);
Tailwind
colors: {
  custom: {
    50: '#bd77e8',
    500: '#9935dc',
    950: '#000000',
  },
}
SCSS
$custom: #9935dc;
$custom-light: #bd77e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9935dc",
  "rgb": {
    "r": 153,
    "g": 53,
    "b": 220
  },
  "hsl": {
    "h": 275.928,
    "s": 70.464,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55561,
    "c": 0.23885,
    "h": 307.4
  },
  "luminance": 0.14486
}

Semantic roles & 50–950 ramp

primary
#9935DC
secondary
#AFDA93
accent
#ED3B82
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9935DC

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

Preview Lab → · Contrast checker → · Palette generator →

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