#9F2AA4#9F2AA4

#9F2AA4 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.204 H 326.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9F2AA4
RGBrgb(159, 42, 164)
HSLhsl(298, 59%, 40%)
HSVhsv(298, 74%, 64%)
CMYKcmyk(3%, 74.4%, 0%, 35.7%)
CIE-LABlab(40.75, 61.58, -40.74)
CIE-LCHlch(40.75, 73.83, 326.51°)
OKLaboklab(51.61% 0.1694 -0.1132)
OKLCHoklch(51.61% 0.204 326.2)
XYZxyz(21.8265, 11.7087, 36.2252)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2AA4 #2FA42A
analogous
#622AA4 #9F2AA4 #A42A6C
triadic
#9F2AA4 #A49F2A #2AA49F
tetradic
#9F2AA4 #A4622A #2FA42A #2A6CA4
square
#9F2AA4 #A4622A #2FA42A #2A6CA4
split-complementary
#9F2AA4 #6CA42A #2AA462
monochromatic
#411143 #701E73 #9F2AA4 #C83ECD #D66EDA

Accessibility & contrast

On white

6.28
#9F2AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9F2AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2AA4
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2AA4#FFFFFF#000000##FFFFFF
##9F2AA41.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0457A7
Deuteranopia (green-blind)
#4765A1
Tritanopia (blue-blind)
#A33F65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f2aa4;
/* rgb */ color: rgb(159, 42, 164);
/* oklch */ color: oklch(51.6% 0.204 326.2);
Tailwind
colors: {
  custom: {
    50: '#bf70bf',
    500: '#9f2aa4',
    950: '#000000',
  },
}
SCSS
$custom: #9f2aa4;
$custom-light: #bf70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2aa4",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 297.541,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51605,
    "c": 0.20372,
    "h": 326.2
  },
  "luminance": 0.11707
}

Semantic roles & 50–950 ramp

primary
#9F2AA4
secondary
#6DC169
accent
#E2454C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F2AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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