#9D2FB6#9D2FB6

#9D2FB6 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.212 H 319.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9D2FB6
RGBrgb(157, 47, 182)
HSLhsl(289, 59%, 45%)
HSVhsv(289, 74%, 71%)
CMYKcmyk(13.7%, 74.2%, 0%, 28.6%)
CIE-LABlab(42.12, 62.68, -49.25)
CIE-LCHlch(42.12, 79.72, 321.84°)
OKLaboklab(52.87% 0.1613 -0.1382)
OKLCHoklch(52.87% 0.212 319.4)
XYZxyz(23.3636, 12.5797, 45.4444)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FB6 #48B62F
analogous
#5A2FB6 #9D2FB6 #B62F8B
triadic
#9D2FB6 #B69D2F #2FB69D
tetradic
#9D2FB6 #B65A2F #48B62F #2F8BB6
square
#9D2FB6 #B65A2F #48B62F #2F8BB6
split-complementary
#9D2FB6 #8BB62F #2FB65A
monochromatic
#491655 #732285 #9D2FB6 #BA50D2 #CD81DE

Accessibility & contrast

On white

5.97
#9D2FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9D2FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2FB6
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2FB6#FFFFFF#000000##FFFFFF
##9D2FB61.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2fb6;
/* rgb */ color: rgb(157, 47, 182);
/* oklch */ color: oklch(52.9% 0.212 319.4);
Tailwind
colors: {
  custom: {
    50: '#be73cc',
    500: '#9d2fb6',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fb6;
$custom-light: #be73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fb6",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 288.889,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52873,
    "c": 0.2124,
    "h": 319.4
  },
  "luminance": 0.12579
}

Semantic roles & 50–950 ramp

primary
#9D2FB6
secondary
#88C779
accent
#E24663
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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