#9F2DA1#9F2DA1

#9F2DA1 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.7% C 0.198 H 327.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9F2DA1
RGBrgb(159, 45, 161)
HSLhsl(299, 56%, 40%)
HSVhsv(299, 72%, 63%)
CMYKcmyk(1.2%, 72%, 0%, 36.9%)
CIE-LABlab(40.93, 60.05, -38.65)
CIE-LCHlch(40.93, 71.41, 327.23°)
OKLaboklab(51.68% 0.1666 -0.1072)
OKLCHoklch(51.68% 0.198 327.2)
XYZxyz(21.6691, 11.8224, 34.8519)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2DA1 #2FA12D
analogous
#652DA1 #9F2DA1 #A12D69
triadic
#9F2DA1 #A19F2D #2DA19F
tetradic
#9F2DA1 #A1652D #2FA12D #2D69A1
square
#9F2DA1 #A1652D #2FA12D #2D69A1
split-complementary
#9F2DA1 #69A12D #2DA165
monochromatic
#411241 #702071 #9F2DA1 #C841CA #D671D7

Accessibility & contrast

On white

6.24
#9F2DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2DA1
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2DA1#FFFFFF#000000##FFFFFF
##9F2DA11.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1557A4
Deuteranopia (green-blind)
#4A669E
Tritanopia (blue-blind)
#A43F64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f2da1;
/* rgb */ color: rgb(159, 45, 161);
/* oklch */ color: oklch(51.7% 0.198 327.2);
Tailwind
colors: {
  custom: {
    50: '#bf71bd',
    500: '#9f2da1',
    950: '#000000',
  },
}
SCSS
$custom: #9f2da1;
$custom-light: #bf71bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2da1",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 298.966,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51681,
    "c": 0.19806,
    "h": 327.2
  },
  "luminance": 0.11821
}

Semantic roles & 50–950 ramp

primary
#9F2DA1
secondary
#6DBF6B
accent
#E0484B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F2DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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