#9F33A2#9F33A2

#9F33A2 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.192 H 326.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9F33A2
RGBrgb(159, 51, 162)
HSLhsl(298, 52%, 42%)
HSVhsv(298, 69%, 64%)
CMYKcmyk(1.9%, 68.5%, 0%, 36.5%)
CIE-LABlab(41.77, 58.02, -37.93)
CIE-LCHlch(41.77, 69.32, 326.83°)
OKLaboklab(52.3% 0.1604 -0.1051)
OKLCHoklch(52.3% 0.192 326.8)
XYZxyz(22.0031, 12.3487, 35.4000)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F33A2 #36A233
analogous
#6833A2 #9F33A2 #A2336E
triadic
#9F33A2 #A29F33 #33A29F
tetradic
#9F33A2 #A26833 #36A233 #336EA2
square
#9F33A2 #A26833 #36A233 #336EA2
split-complementary
#9F33A2 #6EA233 #33A268
monochromatic
#441645 #712473 #9F33A2 #C34CC7 #D37AD5

Accessibility & contrast

On white

6.05
#9F33A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9F33A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F33A2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F33A2#FFFFFF#000000##FFFFFF
##9F33A21.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5AA5
Deuteranopia (green-blind)
#4D679F
Tritanopia (blue-blind)
#A34367
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f33a2;
/* rgb */ color: rgb(159, 51, 162);
/* oklch */ color: oklch(52.3% 0.192 326.8);
Tailwind
colors: {
  custom: {
    50: '#bf74be',
    500: '#9f33a2',
    950: '#000000',
  },
}
SCSS
$custom: #9f33a2;
$custom-light: #bf74be;
$custom-dark: #000000;
JSON
{
  "hex": "#9f33a2",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 298.378,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52296,
    "c": 0.19177,
    "h": 326.8
  },
  "luminance": 0.12347
}

Semantic roles & 50–950 ramp

primary
#9F33A2
secondary
#75BE73
accent
#DC4C50
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9F33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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