#9D2DB3#9D2DB3

#9D2DB3 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.212 H 320.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9D2DB3
RGBrgb(157, 45, 179)
HSLhsl(290, 60%, 44%)
HSVhsv(290, 75%, 70%)
CMYKcmyk(12.3%, 74.9%, 0%, 29.8%)
CIE-LABlab(41.69, 62.82, -48.18)
CIE-LCHlch(41.69, 79.16, 322.51°)
OKLaboklab(52.51% 0.1634 -0.135)
OKLCHoklch(52.51% 0.212 320.4)
XYZxyz(22.9787, 12.3007, 43.8030)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2DB3 #43B32D
analogous
#5A2DB3 #9D2DB3 #B32D86
triadic
#9D2DB3 #B39D2D #2DB39D
tetradic
#9D2DB3 #B35A2D #43B32D #2D86B3
square
#9D2DB3 #B35A2D #43B32D #2D86B3
split-complementary
#9D2DB3 #86B32D #2DB35A
monochromatic
#471451 #722182 #9D2DB3 #BC4BD2 #CE7CDE

Accessibility & contrast

On white

6.07
#9D2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9D2DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2DB3
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2DB3#FFFFFF#000000##FFFFFF
##9D2DB31.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#3B66B0
Tritanopia (blue-blind)
#9E486E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d2db3;
/* rgb */ color: rgb(157, 45, 179);
/* oklch */ color: oklch(52.5% 0.212 320.4);
Tailwind
colors: {
  custom: {
    50: '#be72ca',
    500: '#9d2db3',
    950: '#000000',
  },
}
SCSS
$custom: #9d2db3;
$custom-light: #be72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2db3",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 290.149,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52505,
    "c": 0.21199,
    "h": 320.4
  },
  "luminance": 0.123
}

Semantic roles & 50–950 ramp

primary
#9D2DB3
secondary
#83C775
accent
#E3455F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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