#9D2FB3#9D2FB3

#9D2FB3 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.210 H 320.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9D2FB3
RGBrgb(157, 47, 179)
HSLhsl(290, 58%, 44%)
HSVhsv(290, 74%, 70%)
CMYKcmyk(12.3%, 73.7%, 0%, 29.8%)
CIE-LABlab(41.93, 62.12, -47.79)
CIE-LCHlch(41.93, 78.37, 322.43°)
OKLaboklab(52.68% 0.1616 -0.1339)
OKLCHoklch(52.68% 0.21 320.3)
XYZxyz(23.0568, 12.4570, 43.8290)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FB3 #45B32F
analogous
#5B2FB3 #9D2FB3 #B32F87
triadic
#9D2FB3 #B39D2F #2FB39D
tetradic
#9D2FB3 #B35B2F #45B32F #2F87B3
square
#9D2FB3 #B35B2F #45B32F #2F87B3
split-complementary
#9D2FB3 #87B32F #2FB35B
monochromatic
#481652 #722283 #9D2FB3 #BB4FD1 #CE7FDD

Accessibility & contrast

On white

6.02
#9D2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9D2FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2FB3
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2FB3#FFFFFF#000000##FFFFFF
##9D2FB31.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#3C67B0
Tritanopia (blue-blind)
#9E496F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d2fb3;
/* rgb */ color: rgb(157, 47, 179);
/* oklch */ color: oklch(52.7% 0.210 320.3);
Tailwind
colors: {
  custom: {
    50: '#be73ca',
    500: '#9d2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fb3;
$custom-light: #be73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fb3",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 290,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52677,
    "c": 0.20984,
    "h": 320.3
  },
  "luminance": 0.12456
}

Semantic roles & 50–950 ramp

primary
#9D2FB3
secondary
#85C678
accent
#E24660
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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