#9F33DB#9F33DB

#9F33DB is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 56.1% C 0.241 H 309.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9F33DB
RGBrgb(159, 51, 219)
HSLhsl(279, 70%, 53%)
HSVhsv(279, 77%, 86%)
CMYKcmyk(27.4%, 76.7%, 0%, 14.1%)
CIE-LABlab(45.43, 68.94, -65.35)
CIE-LCHlch(45.43, 95.00, 316.53°)
OKLaboklab(56.07% 0.1547 -0.1854)
OKLCHoklch(56.07% 0.241 309.8)
XYZxyz(28.2655, 14.8537, 68.3821)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F33DB #6FDB33
analogous
#4B33DB #9F33DB #DB33C3
triadic
#9F33DB #DB9F33 #33DB9F
tetradic
#9F33DB #DB4B33 #6FDB33 #33C3DB
square
#9F33DB #DB4B33 #6FDB33 #33C3DB
split-complementary
#9F33DB #C3DB33 #33DB4B
monochromatic
#59167D #7D1FB1 #9F33DB #B767E4 #D09BED

Accessibility & contrast

On white

5.29
#9F33DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9F33DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F33DB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F33DB#FFFFFF#000000##FFFFFF
##9F33DB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E0
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#965C86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9f33db;
/* rgb */ color: rgb(159, 51, 219);
/* oklch */ color: oklch(56.1% 0.241 309.8);
Tailwind
colors: {
  custom: {
    50: '#c177e7',
    500: '#9f33db',
    950: '#000000',
  },
}
SCSS
$custom: #9f33db;
$custom-light: #c177e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f33db",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 219
  },
  "hsl": {
    "h": 278.571,
    "s": 70,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5607,
    "c": 0.24145,
    "h": 309.8
  },
  "luminance": 0.14853
}

Semantic roles & 50–950 ramp

primary
#9F33DB
secondary
#ABD991
accent
#ED3B7B
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9F33DB

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

Preview Lab → · Contrast checker → · Palette generator →

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