#9F33D2#9F33D2

#9F33D2 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.233 H 312.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9F33D2
RGBrgb(159, 51, 210)
HSLhsl(281, 64%, 51%)
HSVhsv(281, 76%, 82%)
CMYKcmyk(24.3%, 75.7%, 0%, 17.6%)
CIE-LABlab(44.79, 67.11, -61.23)
CIE-LCHlch(44.79, 90.85, 317.62°)
OKLaboklab(55.42% 0.1564 -0.1733)
OKLCHoklch(55.42% 0.233 312.1)
XYZxyz(27.1126, 14.3925, 62.3101)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F33D2 #66D233
analogous
#4F33D2 #9F33D2 #D233B5
triadic
#9F33D2 #D29F33 #33D29F
tetradic
#9F33D2 #D24F33 #66D233 #33B5D2
square
#9F33D2 #D24F33 #66D233 #33B5D2
split-complementary
#9F33D2 #B5D233 #33D24F
monochromatic
#551972 #7B24A4 #9F33D2 #B765DD #CE97E8

Accessibility & contrast

On white

5.41
#9F33D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9F33D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F33D2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F33D2#FFFFFF#000000##FFFFFF
##9F33D21.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#186CCF
Tritanopia (blue-blind)
#995981
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f33d2;
/* rgb */ color: rgb(159, 51, 210);
/* oklch */ color: oklch(55.4% 0.233 312.1);
Tailwind
colors: {
  custom: {
    50: '#c076e1',
    500: '#9f33d2',
    950: '#000000',
  },
}
SCSS
$custom: #9f33d2;
$custom-light: #c076e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f33d2",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 210
  },
  "hsl": {
    "h": 280.755,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55416,
    "c": 0.23343,
    "h": 312.1
  },
  "luminance": 0.14392
}

Semantic roles & 50–950 ramp

primary
#9F33D2
secondary
#A4D48D
accent
#E74176
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F33D2

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

Preview Lab → · Contrast checker → · Palette generator →

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