#9D2FB5#9D2FB5

#9D2FB5 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.212 H 319.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9D2FB5
RGBrgb(157, 47, 181)
HSLhsl(289, 59%, 45%)
HSVhsv(289, 74%, 71%)
CMYKcmyk(13.3%, 74%, 0%, 29%)
CIE-LABlab(42.06, 62.49, -48.76)
CIE-LCHlch(42.06, 79.27, 322.03°)
OKLaboklab(52.81% 0.1614 -0.1368)
OKLCHoklch(52.81% 0.212 319.7)
XYZxyz(23.2606, 12.5385, 44.9021)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FB5 #47B52F
analogous
#5A2FB5 #9D2FB5 #B52F8A
triadic
#9D2FB5 #B59D2F #2FB59D
tetradic
#9D2FB5 #B55A2F #47B52F #2F8AB5
square
#9D2FB5 #B55A2F #47B52F #2F8AB5
split-complementary
#9D2FB5 #8AB52F #2FB55A
monochromatic
#491654 #732284 #9D2FB5 #BA50D1 #CD80DE

Accessibility & contrast

On white

5.99
#9D2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9D2FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2FB5
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2FB5#FFFFFF#000000##FFFFFF
##9D2FB51.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#3A67B2
Tritanopia (blue-blind)
#9D4A70
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d2fb5;
/* rgb */ color: rgb(157, 47, 181);
/* oklch */ color: oklch(52.8% 0.212 319.7);
Tailwind
colors: {
  custom: {
    50: '#be73cc',
    500: '#9d2fb5',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fb5;
$custom-light: #be73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fb5",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 289.254,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52807,
    "c": 0.21154,
    "h": 319.7
  },
  "luminance": 0.12537
}

Semantic roles & 50–950 ramp

primary
#9D2FB5
secondary
#87C779
accent
#E24662
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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