#9F2CA5#9F2CA5

#9F2CA5 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.202 H 325.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9F2CA5
RGBrgb(159, 44, 165)
HSLhsl(297, 58%, 41%)
HSVhsv(297, 73%, 65%)
CMYKcmyk(3.6%, 73.3%, 0%, 35.3%)
CIE-LABlab(41.04, 61.08, -40.87)
CIE-LCHlch(41.04, 73.49, 326.21°)
OKLaboklab(51.83% 0.1675 -0.1136)
OKLCHoklch(51.83% 0.202 325.8)
XYZxyz(21.9898, 11.8904, 36.7269)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2CA5 #32A52C
analogous
#622CA5 #9F2CA5 #A52C6E
triadic
#9F2CA5 #A59F2C #2CA59F
tetradic
#9F2CA5 #A5622C #32A52C #2C6EA5
square
#9F2CA5 #A5622C #32A52C #2C6EA5
split-complementary
#9F2CA5 #6EA52C #2CA562
monochromatic
#421244 #701F75 #9F2CA5 #C642CD #D472D9

Accessibility & contrast

On white

6.22
#9F2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9F2CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2CA5
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2CA5#FFFFFF#000000##FFFFFF
##9F2CA51.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0758A8
Deuteranopia (green-blind)
#4766A2
Tritanopia (blue-blind)
#A34066
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f2ca5;
/* rgb */ color: rgb(159, 44, 165);
/* oklch */ color: oklch(51.8% 0.202 325.8);
Tailwind
colors: {
  custom: {
    50: '#bf71c0',
    500: '#9f2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ca5;
$custom-light: #bf71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ca5",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 297.025,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51833,
    "c": 0.20238,
    "h": 325.8
  },
  "luminance": 0.11889
}

Semantic roles & 50–950 ramp

primary
#9F2CA5
secondary
#70C16C
accent
#E1474E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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