#9F33DC#9F33DC

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

Color values

HEX#9F33DC
RGBrgb(159, 51, 220)
HSLhsl(278, 71%, 53%)
HSVhsv(278, 77%, 86%)
CMYKcmyk(27.7%, 76.8%, 0%, 13.7%)
CIE-LABlab(45.51, 69.15, -65.81)
CIE-LCHlch(45.51, 95.46, 316.42°)
OKLaboklab(56.14% 0.1545 -0.1867)
OKLCHoklch(56.14% 0.242 309.6)
XYZxyz(28.3976, 14.9065, 69.0775)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F33DC #70DC33
analogous
#4A33DC #9F33DC #DC33C4
triadic
#9F33DC #DC9F33 #33DC9F
tetradic
#9F33DC #DC4A33 #70DC33 #33C4DC
square
#9F33DC #DC4A33 #70DC33 #33C4DC
split-complementary
#9F33DC #C4DC33 #33DC4A
monochromatic
#59167F #7E1FB3 #9F33DC #B867E5 #D09BEE

Accessibility & contrast

On white

5.27
#9F33DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9F33DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F33DC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F33DC#FFFFFF#000000##FFFFFF
##9F33DC1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#965D87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9f33dc;
/* rgb */ color: rgb(159, 51, 220);
/* oklch */ color: oklch(56.1% 0.242 309.6);
Tailwind
colors: {
  custom: {
    50: '#c177e8',
    500: '#9f33dc',
    950: '#000000',
  },
}
SCSS
$custom: #9f33dc;
$custom-light: #c177e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f33dc",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 220
  },
  "hsl": {
    "h": 278.343,
    "s": 70.711,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56144,
    "c": 0.24234,
    "h": 309.6
  },
  "luminance": 0.14906
}

Semantic roles & 50–950 ramp

primary
#9F33DC
secondary
#ABDA91
accent
#ED3A7B
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9F33DC

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

Preview Lab → · Contrast checker → · Palette generator →

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