#9F2AA5#9F2AA5

#9F2AA5 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.205 H 325.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9F2AA5
RGBrgb(159, 42, 165)
HSLhsl(297, 59%, 41%)
HSVhsv(297, 75%, 65%)
CMYKcmyk(3.6%, 74.5%, 0%, 35.3%)
CIE-LABlab(40.81, 61.75, -41.25)
CIE-LCHlch(40.81, 74.26, 326.26°)
OKLaboklab(51.67% 0.1693 -0.1147)
OKLCHoklch(51.67% 0.205 325.9)
XYZxyz(21.9171, 11.7449, 36.7026)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2AA5 #30A52A
analogous
#612AA5 #9F2AA5 #A52A6D
triadic
#9F2AA5 #A59F2A #2AA59F
tetradic
#9F2AA5 #A5612A #30A52A #2A6DA5
square
#9F2AA5 #A5612A #30A52A #2A6DA5
split-complementary
#9F2AA5 #6DA52A #2AA561
monochromatic
#411143 #701E74 #9F2AA5 #C73ECE #D56FDA

Accessibility & contrast

On white

6.27
#9F2AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9F2AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2AA5
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2AA5#FFFFFF#000000##FFFFFF
##9F2AA51.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A8
Deuteranopia (green-blind)
#4665A2
Tritanopia (blue-blind)
#A33F66
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f2aa5;
/* rgb */ color: rgb(159, 42, 165);
/* oklch */ color: oklch(51.7% 0.205 325.9);
Tailwind
colors: {
  custom: {
    50: '#bf70c0',
    500: '#9f2aa5',
    950: '#000000',
  },
}
SCSS
$custom: #9f2aa5;
$custom-light: #bf70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2aa5",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 297.073,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51666,
    "c": 0.20452,
    "h": 325.9
  },
  "luminance": 0.11743
}

Semantic roles & 50–950 ramp

primary
#9F2AA5
secondary
#6EC169
accent
#E3454D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F2AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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