#9F2DA0#9F2DA0

#9F2DA0 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.6% C 0.197 H 327.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9F2DA0
RGBrgb(159, 45, 160)
HSLhsl(299, 56%, 40%)
HSVhsv(299, 72%, 63%)
CMYKcmyk(0.6%, 71.9%, 0%, 37.3%)
CIE-LABlab(40.88, 59.88, -38.14)
CIE-LCHlch(40.88, 70.99, 327.50°)
OKLaboklab(51.62% 0.1666 -0.1057)
OKLCHoklch(51.62% 0.197 327.6)
XYZxyz(21.5813, 11.7873, 34.3894)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2DA0 #2EA02D
analogous
#652DA0 #9F2DA0 #A02D68
triadic
#9F2DA0 #A09F2D #2DA09F
tetradic
#9F2DA0 #A0652D #2EA02D #2D68A0
square
#9F2DA0 #A0652D #2EA02D #2D68A0
split-complementary
#9F2DA0 #68A02D #2DA065
monochromatic
#401240 #702070 #9F2DA0 #C841C9 #D670D7

Accessibility & contrast

On white

6.26
#9F2DA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9F2DA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2DA0
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2DA0#FFFFFF#000000##FFFFFF
##9F2DA01.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1757A3
Deuteranopia (green-blind)
#4B659D
Tritanopia (blue-blind)
#A43F64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f2da0;
/* rgb */ color: rgb(159, 45, 160);
/* oklch */ color: oklch(51.6% 0.197 327.6);
Tailwind
colors: {
  custom: {
    50: '#bf71bc',
    500: '#9f2da0',
    950: '#000000',
  },
}
SCSS
$custom: #9f2da0;
$custom-light: #bf71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2da0",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 299.478,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51622,
    "c": 0.19726,
    "h": 327.6
  },
  "luminance": 0.11786
}

Semantic roles & 50–950 ramp

primary
#9F2DA0
secondary
#6BBE6B
accent
#DF484A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F2DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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