#9D2FB1#9D2FB1

#9D2FB1 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.208 H 321.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9D2FB1
RGBrgb(157, 47, 177)
HSLhsl(291, 58%, 44%)
HSVhsv(291, 73%, 69%)
CMYKcmyk(11.3%, 73.4%, 0%, 30.6%)
CIE-LABlab(41.81, 61.75, -46.80)
CIE-LCHlch(41.81, 77.48, 322.84°)
OKLaboklab(52.55% 0.1617 -0.131)
OKLCHoklch(52.55% 0.208 321)
XYZxyz(22.8560, 12.3767, 42.7715)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FB1 #43B12F
analogous
#5C2FB1 #9D2FB1 #B12F84
triadic
#9D2FB1 #B19D2F #2FB19D
tetradic
#9D2FB1 #B15C2F #43B12F #2F84B1
square
#9D2FB1 #B15C2F #43B12F #2F84B1
split-complementary
#9D2FB1 #84B12F #2FB15C
monochromatic
#471550 #722281 #9D2FB1 #BC4DD0 #CE7EDD

Accessibility & contrast

On white

6.04
#9D2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9D2FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2FB1
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2FB1#FFFFFF#000000##FFFFFF
##9D2FB11.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#3E67AE
Tritanopia (blue-blind)
#9E486E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d2fb1;
/* rgb */ color: rgb(157, 47, 177);
/* oklch */ color: oklch(52.5% 0.208 321.0);
Tailwind
colors: {
  custom: {
    50: '#be73c9',
    500: '#9d2fb1',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fb1;
$custom-light: #be73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fb1",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 290.769,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52549,
    "c": 0.20814,
    "h": 321
  },
  "luminance": 0.12375
}

Semantic roles & 50–950 ramp

primary
#9D2FB1
secondary
#83C576
accent
#E1475E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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