#9D2FA4#9D2FA4

#9D2FA4 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.197 H 325.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9D2FA4
RGBrgb(157, 47, 164)
HSLhsl(296, 55%, 41%)
HSVhsv(296, 71%, 64%)
CMYKcmyk(4.3%, 71.3%, 0%, 35.7%)
CIE-LABlab(41.03, 59.41, -40.31)
CIE-LCHlch(41.03, 71.80, 325.84°)
OKLaboklab(51.74% 0.1623 -0.1121)
OKLCHoklch(51.74% 0.197 325.4)
XYZxyz(21.6215, 11.8829, 36.2696)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FA4 #36A42F
analogous
#632FA4 #9D2FA4 #A42F71
triadic
#9D2FA4 #A49D2F #2FA49D
tetradic
#9D2FA4 #A4632F #36A42F #2F71A4
square
#9D2FA4 #A4632F #36A42F #2F71A4
split-complementary
#9D2FA4 #71A42F #2FA463
monochromatic
#421445 #6F2174 #9D2FA4 #C246CA #D276D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D2FA4#FFFFFF#000000##FFFFFF
##9D2FA41.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)
#1058A7
Deuteranopia (green-blind)
#4765A1
Tritanopia (blue-blind)
#A14266
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d2fa4;
/* rgb */ color: rgb(157, 47, 164);
/* oklch */ color: oklch(51.7% 0.197 325.4);
Tailwind
colors: {
  custom: {
    50: '#bd72bf',
    500: '#9d2fa4',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fa4;
$custom-light: #bd72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fa4",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 296.41,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51742,
    "c": 0.19725,
    "h": 325.4
  },
  "luminance": 0.11881
}

Semantic roles & 50–950 ramp

primary
#9D2FA4
secondary
#74C06F
accent
#DF4952
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9D2FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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