#9F2DC3#9F2DC3

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

Color values

HEX#9F2DC3
RGBrgb(159, 45, 195)
HSLhsl(286, 63%, 47%)
HSVhsv(286, 77%, 76%)
CMYKcmyk(18.5%, 76.9%, 0%, 23.5%)
CIE-LABlab(43.05, 66.21, -55.37)
CIE-LCHlch(43.05, 86.31, 320.10°)
OKLaboklab(53.86% 0.1639 -0.156)
OKLCHoklch(53.86% 0.226 316.4)
XYZxyz(25.0853, 13.1889, 52.8435)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2DC3 #51C32D
analogous
#542DC3 #9F2DC3 #C32D9C
triadic
#9F2DC3 #C39F2D #2DC39F
tetradic
#9F2DC3 #C3542D #51C32D #2D9CC3
square
#9F2DC3 #C3542D #51C32D #2D9CC3
split-complementary
#9F2DC3 #9CC32D #2DC354
monochromatic
#4E1660 #762291 #9F2DC3 #B955D8 #CD87E3

Accessibility & contrast

On white

5.77
#9F2DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9F2DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2DC3
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2DC3#FFFFFF#000000##FFFFFF
##9F2DC31.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2C69C0
Tritanopia (blue-blind)
#9D4F77
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f2dc3;
/* rgb */ color: rgb(159, 45, 195);
/* oklch */ color: oklch(53.9% 0.226 316.4);
Tailwind
colors: {
  custom: {
    50: '#c073d6',
    500: '#9f2dc3',
    950: '#000000',
  },
}
SCSS
$custom: #9f2dc3;
$custom-light: #c073d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2dc3",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 285.6,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53859,
    "c": 0.22629,
    "h": 316.4
  },
  "luminance": 0.13188
}

Semantic roles & 50–950 ramp

primary
#9F2DC3
secondary
#92CD7F
accent
#E64269
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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