#9D2FA9#9D2FA9

#9D2FA9 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.0% C 0.201 H 323.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9D2FA9
RGBrgb(157, 47, 169)
HSLhsl(294, 56%, 42%)
HSVhsv(294, 72%, 66%)
CMYKcmyk(7.1%, 72.2%, 0%, 33.7%)
CIE-LABlab(41.32, 60.30, -42.83)
CIE-LCHlch(41.32, 73.96, 324.61°)
OKLaboklab(52.05% 0.1622 -0.1194)
OKLCHoklch(52.05% 0.201 323.6)
XYZxyz(22.0819, 12.0670, 38.6945)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FA9 #3BA92F
analogous
#602FA9 #9D2FA9 #A92F78
triadic
#9D2FA9 #A99D2F #2FA99D
tetradic
#9D2FA9 #A9602F #3BA92F #2F78A9
square
#9D2FA9 #A9602F #3BA92F #2F78A9
split-complementary
#9D2FA9 #78A92F #2FA960
monochromatic
#441449 #712279 #9D2FA9 #BF49CC #D079DA

Accessibility & contrast

On white

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

On black

3.41
#9D2FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9D2FA9#FFFFFF#000000##FFFFFF
##9D2FA91.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#4466A6
Tritanopia (blue-blind)
#A04469
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d2fa9;
/* rgb */ color: rgb(157, 47, 169);
/* oklch */ color: oklch(52.0% 0.201 323.6);
Tailwind
colors: {
  custom: {
    50: '#be72c3',
    500: '#9d2fa9',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fa9;
$custom-light: #be72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fa9",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 294.098,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52046,
    "c": 0.2014,
    "h": 323.6
  },
  "luminance": 0.12066
}

Semantic roles & 50–950 ramp

primary
#9D2FA9
secondary
#7AC272
accent
#E04857
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #9D2FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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