#9935D1#9935D1

#9935D1 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.7% C 0.229 H 310.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9935D1
RGBrgb(153, 53, 209)
HSLhsl(278, 63%, 51%)
HSVhsv(278, 75%, 82%)
CMYKcmyk(26.8%, 74.6%, 0%, 18%)
CIE-LABlab(44.12, 65.08, -61.78)
CIE-LCHlch(44.12, 89.74, 316.49°)
OKLaboklab(54.75% 0.1471 -0.1751)
OKLCHoklch(54.75% 0.229 310)
XYZxyz(25.9163, 13.9225, 61.6313)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9935D1 #6DD135
analogous
#4B35D1 #9935D1 #D135BB
triadic
#9935D1 #D19935 #35D199
tetradic
#9935D1 #D14B35 #6DD135 #35BBD1
square
#9935D1 #D14B35 #6DD135 #35BBD1
split-complementary
#9935D1 #BBD135 #35D14B
monochromatic
#521A72 #7625A4 #9935D1 #B267DC #CB99E8

Accessibility & contrast

On white

5.55
#9935D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9935D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9935D1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9935D1#FFFFFF#000000##FFFFFF
##9935D11.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#086ACE
Tritanopia (blue-blind)
#915A81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9935d1;
/* rgb */ color: rgb(153, 53, 209);
/* oklch */ color: oklch(54.7% 0.229 310.0);
Tailwind
colors: {
  custom: {
    50: '#bc76e0',
    500: '#9935d1',
    950: '#000000',
  },
}
SCSS
$custom: #9935d1;
$custom-light: #bc76e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9935d1",
  "rgb": {
    "r": 153,
    "g": 53,
    "b": 209
  },
  "hsl": {
    "h": 278.462,
    "s": 62.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54746,
    "c": 0.2287,
    "h": 310
  },
  "luminance": 0.13922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9935D1

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

Preview Lab → · Contrast checker → · Palette generator →

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