#9B33DC#9B33DC

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

Color values

HEX#9B33DC
RGBrgb(155, 51, 220)
HSLhsl(277, 71%, 53%)
HSVhsv(277, 77%, 86%)
CMYKcmyk(29.5%, 76.8%, 0%, 13.7%)
CIE-LABlab(44.95, 68.47, -66.74)
CIE-LCHlch(44.95, 95.61, 315.73°)
OKLaboklab(55.64% 0.1492 -0.1896)
OKLCHoklch(55.64% 0.241 308.2)
XYZxyz(27.6170, 14.5040, 69.0410)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B33DC #74DC33
analogous
#4633DC #9B33DC #DC33C8
triadic
#9B33DC #DC9B33 #33DC9B
tetradic
#9B33DC #DC4633 #74DC33 #33C8DC
square
#9B33DC #DC4633 #74DC33 #33C8DC
split-complementary
#9B33DC #C8DC33 #33DC46
monochromatic
#56167F #7A1FB3 #9B33DC #B567E5 #CE9BEE

Accessibility & contrast

On white

5.38
#9B33DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9B33DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B33DC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B33DC#FFFFFF#000000##FFFFFF
##9B33DC1.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)
#0067E1
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#915E87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b33dc;
/* rgb */ color: rgb(155, 51, 220);
/* oklch */ color: oklch(55.6% 0.241 308.2);
Tailwind
colors: {
  custom: {
    50: '#be76e8',
    500: '#9b33dc',
    950: '#000000',
  },
}
SCSS
$custom: #9b33dc;
$custom-light: #be76e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b33dc",
  "rgb": {
    "r": 155,
    "g": 51,
    "b": 220
  },
  "hsl": {
    "h": 276.923,
    "s": 70.711,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55636,
    "c": 0.24129,
    "h": 308.2
  },
  "luminance": 0.14504
}

Semantic roles & 50–950 ramp

primary
#9B33DC
secondary
#ADDA91
accent
#ED3A7F
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9B33DC

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

Preview Lab → · Contrast checker → · Palette generator →

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