#9F2FA4#9F2FA4

#9F2FA4 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.198 H 326.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9F2FA4
RGBrgb(159, 47, 164)
HSLhsl(297, 55%, 41%)
HSVhsv(297, 71%, 64%)
CMYKcmyk(3%, 71.3%, 0%, 35.7%)
CIE-LABlab(41.35, 59.86, -39.78)
CIE-LCHlch(41.35, 71.87, 326.39°)
OKLaboklab(52.04% 0.1646 -0.1105)
OKLCHoklch(52.04% 0.198 326.1)
XYZxyz(22.0150, 12.0858, 36.2880)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FA4 #34A42F
analogous
#652FA4 #9F2FA4 #A42F6F
triadic
#9F2FA4 #A49F2F #2FA49F
tetradic
#9F2FA4 #A4652F #34A42F #2F6FA4
square
#9F2FA4 #A4652F #34A42F #2F6FA4
split-complementary
#9F2FA4 #6FA42F #2FA465
monochromatic
#431445 #712174 #9F2FA4 #C446CA #D376D8

Accessibility & contrast

On white

6.15
#9F2FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9F2FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FA4
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FA4#FFFFFF#000000##FFFFFF
##9F2FA41.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1359A7
Deuteranopia (green-blind)
#4966A1
Tritanopia (blue-blind)
#A34266
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f2fa4;
/* rgb */ color: rgb(159, 47, 164);
/* oklch */ color: oklch(52.0% 0.198 326.1);
Tailwind
colors: {
  custom: {
    50: '#bf72bf',
    500: '#9f2fa4',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fa4;
$custom-light: #bf72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fa4",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 297.436,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52036,
    "c": 0.19821,
    "h": 326.1
  },
  "luminance": 0.12084
}

Semantic roles & 50–950 ramp

primary
#9F2FA4
secondary
#73C06F
accent
#DF494F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9F2FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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