#9D2EB3#9D2EB3

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

Color values

HEX#9D2EB3
RGBrgb(157, 46, 179)
HSLhsl(290, 59%, 44%)
HSVhsv(290, 74%, 70%)
CMYKcmyk(12.3%, 74.3%, 0%, 29.8%)
CIE-LABlab(41.81, 62.47, -47.98)
CIE-LCHlch(41.81, 78.77, 322.47°)
OKLaboklab(52.59% 0.1625 -0.1345)
OKLCHoklch(52.59% 0.211 320.4)
XYZxyz(23.0173, 12.3780, 43.8159)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2EB3 #44B32E
analogous
#5B2EB3 #9D2EB3 #B32E87
triadic
#9D2EB3 #B39D2E #2EB39D
tetradic
#9D2EB3 #B35B2E #44B32E #2E87B3
square
#9D2EB3 #B35B2E #44B32E #2E87B3
split-complementary
#9D2EB3 #87B32E #2EB35B
monochromatic
#481552 #722182 #9D2EB3 #BB4DD1 #CE7EDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D2EB3#FFFFFF#000000##FFFFFF
##9D2EB31.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)
#005BB7
Deuteranopia (green-blind)
#3C66B0
Tritanopia (blue-blind)
#9E486F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d2eb3;
/* rgb */ color: rgb(157, 46, 179);
/* oklch */ color: oklch(52.6% 0.211 320.4);
Tailwind
colors: {
  custom: {
    50: '#be72ca',
    500: '#9d2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #9d2eb3;
$custom-light: #be72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2eb3",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 290.075,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5259,
    "c": 0.21092,
    "h": 320.4
  },
  "luminance": 0.12377
}

Semantic roles & 50–950 ramp

primary
#9D2EB3
secondary
#84C676
accent
#E2465F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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