#9D33DC#9D33DC

#9D33DC is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.9% C 0.242 H 308.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9D33DC
RGBrgb(157, 51, 220)
HSLhsl(278, 71%, 53%)
HSVhsv(278, 77%, 86%)
CMYKcmyk(28.6%, 76.8%, 0%, 13.7%)
CIE-LABlab(45.23, 68.81, -66.28)
CIE-LCHlch(45.23, 95.53, 316.07°)
OKLaboklab(55.89% 0.1518 -0.1882)
OKLCHoklch(55.89% 0.242 308.9)
XYZxyz(28.0041, 14.7036, 69.0591)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D33DC #72DC33
analogous
#4833DC #9D33DC #DC33C6
triadic
#9D33DC #DC9D33 #33DC9D
tetradic
#9D33DC #DC4833 #72DC33 #33C6DC
square
#9D33DC #DC4833 #72DC33 #33C6DC
split-complementary
#9D33DC #C6DC33 #33DC48
monochromatic
#58167F #7C1FB3 #9D33DC #B667E5 #CF9BEE

Accessibility & contrast

On white

5.33
#9D33DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9D33DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D33DC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D33DC#FFFFFF#000000##FFFFFF
##9D33DC1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#935D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d33dc;
/* rgb */ color: rgb(157, 51, 220);
/* oklch */ color: oklch(55.9% 0.242 308.9);
Tailwind
colors: {
  custom: {
    50: '#c076e8',
    500: '#9d33dc',
    950: '#000000',
  },
}
SCSS
$custom: #9d33dc;
$custom-light: #c076e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d33dc",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 220
  },
  "hsl": {
    "h": 277.633,
    "s": 70.711,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55889,
    "c": 0.24182,
    "h": 308.9
  },
  "luminance": 0.14703
}

Semantic roles & 50–950 ramp

primary
#9D33DC
secondary
#ACDA91
accent
#ED3A7D
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9D33DC

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

Preview Lab → · Contrast checker → · Palette generator →

#9D33DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva