#9F2DC4#9F2DC4

#9F2DC4 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.9% C 0.227 H 316.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9F2DC4
RGBrgb(159, 45, 196)
HSLhsl(285, 63%, 47%)
HSVhsv(285, 77%, 77%)
CMYKcmyk(18.9%, 77%, 0%, 23.1%)
CIE-LABlab(43.11, 66.40, -55.84)
CIE-LCHlch(43.11, 86.76, 319.94°)
OKLaboklab(53.93% 0.1637 -0.1574)
OKLCHoklch(53.93% 0.227 316.1)
XYZxyz(25.1987, 13.2342, 53.4410)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2DC4 #52C42D
analogous
#532DC4 #9F2DC4 #C42D9E
triadic
#9F2DC4 #C49F2D #2DC49F
tetradic
#9F2DC4 #C4532D #52C42D #2D9EC4
square
#9F2DC4 #C4532D #52C42D #2D9EC4
split-complementary
#9F2DC4 #9EC42D #2DC453
monochromatic
#4E1660 #772292 #9F2DC4 #B856D8 #CD88E4

Accessibility & contrast

On white

5.76
#9F2DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9F2DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2DC4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2DC4#FFFFFF#000000##FFFFFF
##9F2DC41.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#2B69C1
Tritanopia (blue-blind)
#9C4F78
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f2dc4;
/* rgb */ color: rgb(159, 45, 196);
/* oklch */ color: oklch(53.9% 0.227 316.1);
Tailwind
colors: {
  custom: {
    50: '#c073d7',
    500: '#9f2dc4',
    950: '#000000',
  },
}
SCSS
$custom: #9f2dc4;
$custom-light: #c073d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2dc4",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 196
  },
  "hsl": {
    "h": 285.298,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53928,
    "c": 0.22715,
    "h": 316.1
  },
  "luminance": 0.13233
}

Semantic roles & 50–950 ramp

primary
#9F2DC4
secondary
#93CD80
accent
#E6426A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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