#9935D2#9935D2

#9935D2 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.8% C 0.230 H 309.8°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9935D2
RGBrgb(153, 53, 210)
HSLhsl(278, 64%, 52%)
HSVhsv(278, 75%, 82%)
CMYKcmyk(27.1%, 74.8%, 0%, 17.6%)
CIE-LABlab(44.19, 65.29, -62.24)
CIE-LCHlch(44.19, 90.21, 316.37°)
OKLaboklab(54.82% 0.1469 -0.1765)
OKLCHoklch(54.82% 0.23 309.8)
XYZxyz(26.0405, 13.9722, 62.2854)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9935D2 #6ED235
analogous
#4B35D2 #9935D2 #D235BC
triadic
#9935D2 #D29935 #35D299
tetradic
#9935D2 #D24B35 #6ED235 #35BCD2
square
#9935D2 #D24B35 #6ED235 #35BCD2
split-complementary
#9935D2 #BCD235 #35D24B
monochromatic
#531A73 #7625A5 #9935D2 #B267DD #CC99E8

Accessibility & contrast

On white

5.53
#9935D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9935D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9935D2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9935D2#FFFFFF#000000##FFFFFF
##9935D21.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#026ACF
Tritanopia (blue-blind)
#915A82
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9935d2;
/* rgb */ color: rgb(153, 53, 210);
/* oklch */ color: oklch(54.8% 0.230 309.8);
Tailwind
colors: {
  custom: {
    50: '#bc76e1',
    500: '#9935d2',
    950: '#000000',
  },
}
SCSS
$custom: #9935d2;
$custom-light: #bc76e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9935d2",
  "rgb": {
    "r": 153,
    "g": 53,
    "b": 210
  },
  "hsl": {
    "h": 278.217,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54819,
    "c": 0.22962,
    "h": 309.8
  },
  "luminance": 0.13972
}

Semantic roles & 50–950 ramp

primary
#9935D2
secondary
#A8D48F
accent
#E7417D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9935D2

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

Preview Lab → · Contrast checker → · Palette generator →

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