#9B33D2#9B33D2

#9B33D2 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.9% C 0.232 H 310.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9B33D2
RGBrgb(155, 51, 210)
HSLhsl(279, 64%, 51%)
HSVhsv(279, 76%, 82%)
CMYKcmyk(26.2%, 75.7%, 0%, 17.6%)
CIE-LABlab(44.22, 66.39, -62.19)
CIE-LCHlch(44.22, 90.97, 316.87°)
OKLaboklab(54.9% 0.1512 -0.1762)
OKLCHoklch(54.9% 0.232 310.6)
XYZxyz(26.3320, 13.9900, 62.2735)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B33D2 #6AD233
analogous
#4B33D2 #9B33D2 #D233B9
triadic
#9B33D2 #D29B33 #33D29B
tetradic
#9B33D2 #D24B33 #6AD233 #33B9D2
square
#9B33D2 #D24B33 #6AD233 #33B9D2
split-complementary
#9B33D2 #B9D233 #33D24B
monochromatic
#531972 #7824A4 #9B33D2 #B465DD #CC97E8

Accessibility & contrast

On white

5.53
#9B33D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9B33D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B33D2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B33D2#FFFFFF#000000##FFFFFF
##9B33D21.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#066ACF
Tritanopia (blue-blind)
#935981
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9b33d2;
/* rgb */ color: rgb(155, 51, 210);
/* oklch */ color: oklch(54.9% 0.232 310.6);
Tailwind
colors: {
  custom: {
    50: '#be76e1',
    500: '#9b33d2',
    950: '#000000',
  },
}
SCSS
$custom: #9b33d2;
$custom-light: #be76e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b33d2",
  "rgb": {
    "r": 155,
    "g": 51,
    "b": 210
  },
  "hsl": {
    "h": 279.245,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54895,
    "c": 0.23224,
    "h": 310.6
  },
  "luminance": 0.13989
}

Semantic roles & 50–950 ramp

primary
#9B33D2
secondary
#A6D48D
accent
#E7417A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B33D2

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

Preview Lab → · Contrast checker → · Palette generator →

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