#9F2AA3#9F2AA3

#9F2AA3 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.5% C 0.203 H 326.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9F2AA3
RGBrgb(159, 42, 163)
HSLhsl(298, 59%, 40%)
HSVhsv(298, 74%, 64%)
CMYKcmyk(2.5%, 74.2%, 0%, 36.1%)
CIE-LABlab(40.69, 61.41, -40.23)
CIE-LCHlch(40.69, 73.41, 326.77°)
OKLaboklab(51.54% 0.1694 -0.1118)
OKLCHoklch(51.54% 0.203 326.6)
XYZxyz(21.7365, 11.6727, 35.7514)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2AA3 #2EA32A
analogous
#632AA3 #9F2AA3 #A32A6A
triadic
#9F2AA3 #A39F2A #2AA39F
tetradic
#9F2AA3 #A3632A #2EA32A #2A6AA3
square
#9F2AA3 #A3632A #2EA32A #2A6AA3
split-complementary
#9F2AA3 #6AA32A #2AA363
monochromatic
#401142 #701D72 #9F2AA3 #C83DCD #D66EDA

Accessibility & contrast

On white

6.30
#9F2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2AA3
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2AA3#FFFFFF#000000##FFFFFF
##9F2AA31.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0757A6
Deuteranopia (green-blind)
#4765A0
Tritanopia (blue-blind)
#A33E65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f2aa3;
/* rgb */ color: rgb(159, 42, 163);
/* oklch */ color: oklch(51.5% 0.203 326.6);
Tailwind
colors: {
  custom: {
    50: '#bf70bf',
    500: '#9f2aa3',
    950: '#000000',
  },
}
SCSS
$custom: #9f2aa3;
$custom-light: #bf70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2aa3",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 298.017,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51545,
    "c": 0.20294,
    "h": 326.6
  },
  "luminance": 0.11671
}

Semantic roles & 50–950 ramp

primary
#9F2AA3
secondary
#6BC068
accent
#E2464B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F2AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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