#9D3AC8#9D3AC8

#9D3AC8 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.216 H 313.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9D3AC8
RGBrgb(157, 58, 200)
HSLhsl(282, 56%, 51%)
HSVhsv(282, 71%, 78%)
CMYKcmyk(21.5%, 71%, 0%, 21.6%)
CIE-LABlab(44.75, 62.05, -55.54)
CIE-LCHlch(44.75, 83.27, 318.17°)
OKLaboklab(55.12% 0.1488 -0.1567)
OKLCHoklch(55.12% 0.216 313.5)
XYZxyz(25.8412, 14.3652, 56.0439)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3AC8 #65C83A
analogous
#563AC8 #9D3AC8 #C83AAC
triadic
#9D3AC8 #C89D3A #3AC89D
tetradic
#9D3AC8 #C8563A #65C83A #3AACC8
square
#9D3AC8 #C8563A #65C83A #3AACC8
split-complementary
#9D3AC8 #ACC83A #3AC856
monochromatic
#531E6A #782B9A #9D3AC8 #B56AD5 #CD9AE3

Accessibility & contrast

On white

5.42
#9D3AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9D3AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3AC8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3AC8#FFFFFF#000000##FFFFFF
##9D3AC81.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#2F6CC5
Tritanopia (blue-blind)
#99587D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d3ac8;
/* rgb */ color: rgb(157, 58, 200);
/* oklch */ color: oklch(55.1% 0.216 313.5);
Tailwind
colors: {
  custom: {
    50: '#be79d9',
    500: '#9d3ac8',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ac8;
$custom-light: #be79d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ac8",
  "rgb": {
    "r": 157,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 281.831,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55115,
    "c": 0.21606,
    "h": 313.5
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#9D3AC8
secondary
#A2CE8F
accent
#E04876
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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