#9A33D2#9A33D2

#9A33D2 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.8% C 0.232 H 310.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9A33D2
RGBrgb(154, 51, 210)
HSLhsl(279, 64%, 51%)
HSVhsv(279, 76%, 82%)
CMYKcmyk(26.7%, 75.7%, 0%, 17.6%)
CIE-LABlab(44.08, 66.21, -62.43)
CIE-LCHlch(44.08, 91.00, 316.68°)
OKLaboklab(54.77% 0.1499 -0.177)
OKLCHoklch(54.77% 0.232 310.3)
XYZxyz(26.1408, 13.8914, 62.2645)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A33D2 #6BD233
analogous
#4A33D2 #9A33D2 #D233BA
triadic
#9A33D2 #D29A33 #33D29A
tetradic
#9A33D2 #D24A33 #6BD233 #33BAD2
square
#9A33D2 #D24A33 #6BD233 #33BAD2
split-complementary
#9A33D2 #BAD233 #33D24A
monochromatic
#521972 #7724A4 #9A33D2 #B365DD #CC97E8

Accessibility & contrast

On white

5.56
#9A33D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9A33D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A33D2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A33D2#FFFFFF#000000##FFFFFF
##9A33D21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#016ACF
Tritanopia (blue-blind)
#925981
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9a33d2;
/* rgb */ color: rgb(154, 51, 210);
/* oklch */ color: oklch(54.8% 0.232 310.3);
Tailwind
colors: {
  custom: {
    50: '#bd76e1',
    500: '#9a33d2',
    950: '#000000',
  },
}
SCSS
$custom: #9a33d2;
$custom-light: #bd76e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a33d2",
  "rgb": {
    "r": 154,
    "g": 51,
    "b": 210
  },
  "hsl": {
    "h": 278.868,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54766,
    "c": 0.23195,
    "h": 310.3
  },
  "luminance": 0.13891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A33D2

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

Preview Lab → · Contrast checker → · Palette generator →

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