#9F2AA2#9F2AA2

#9F2AA2 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.202 H 326.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9F2AA2
RGBrgb(159, 42, 162)
HSLhsl(299, 59%, 40%)
HSVhsv(299, 74%, 64%)
CMYKcmyk(1.9%, 74.1%, 0%, 36.5%)
CIE-LABlab(40.63, 61.24, -39.73)
CIE-LCHlch(40.63, 72.99, 327.03°)
OKLaboklab(51.49% 0.1694 -0.1103)
OKLCHoklch(51.49% 0.202 326.9)
XYZxyz(21.6473, 11.6370, 35.2814)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2AA2 #2DA22A
analogous
#632AA2 #9F2AA2 #A22A69
triadic
#9F2AA2 #A29F2A #2AA29F
tetradic
#9F2AA2 #A2632A #2DA22A #2A69A2
square
#9F2AA2 #A2632A #2DA22A #2A69A2
split-complementary
#9F2AA2 #69A22A #2AA263
monochromatic
#401141 #6F1D71 #9F2AA2 #C93DCD #D76DD9

Accessibility & contrast

On white

6.31
#9F2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9F2AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2AA2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2AA2#FFFFFF#000000##FFFFFF
##9F2AA21.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A56A5
Deuteranopia (green-blind)
#48659F
Tritanopia (blue-blind)
#A43E64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f2aa2;
/* rgb */ color: rgb(159, 42, 162);
/* oklch */ color: oklch(51.5% 0.202 326.9);
Tailwind
colors: {
  custom: {
    50: '#bf70be',
    500: '#9f2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #9f2aa2;
$custom-light: #bf70be;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2aa2",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 298.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.51485,
    "c": 0.20214,
    "h": 326.9
  },
  "luminance": 0.11635
}

Semantic roles & 50–950 ramp

primary
#9F2AA2
secondary
#6AC068
accent
#E2464A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F2AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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