#9D3AC2#9D3AC2

#9D3AC2 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.7% C 0.210 H 315.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9D3AC2
RGBrgb(157, 58, 194)
HSLhsl(284, 54%, 49%)
HSVhsv(284, 70%, 76%)
CMYKcmyk(19.1%, 70.1%, 0%, 23.9%)
CIE-LABlab(44.36, 60.83, -52.68)
CIE-LCHlch(44.36, 80.47, 319.11°)
OKLaboklab(54.71% 0.1494 -0.1483)
OKLCHoklch(54.71% 0.21 315.2)
XYZxyz(25.1537, 14.0902, 52.4231)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3AC2 #5FC23A
analogous
#593AC2 #9D3AC2 #C23AA3
triadic
#9D3AC2 #C29D3A #3AC29D
tetradic
#9D3AC2 #C2593A #5FC23A #3AA3C2
square
#9D3AC2 #C2593A #5FC23A #3AA3C2
split-complementary
#9D3AC2 #A3C23A #3AC259
monochromatic
#511E64 #772C93 #9D3AC2 #B567D2 #CC97E0

Accessibility & contrast

On white

5.50
#9D3AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9D3AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3AC2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3AC2#FFFFFF#000000##FFFFFF
##9D3AC21.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#366BBF
Tritanopia (blue-blind)
#9A567A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d3ac2;
/* rgb */ color: rgb(157, 58, 194);
/* oklch */ color: oklch(54.7% 0.210 315.2);
Tailwind
colors: {
  custom: {
    50: '#be79d5',
    500: '#9d3ac2',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ac2;
$custom-light: #be79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ac2",
  "rgb": {
    "r": 157,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 283.676,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54712,
    "c": 0.21049,
    "h": 315.2
  },
  "luminance": 0.14089
}

Semantic roles & 50–950 ramp

primary
#9D3AC2
secondary
#9ECB8D
accent
#DD4A72
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9D3AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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