#9D3ACB#9D3ACB

#9D3ACB is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.219 H 312.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9D3ACB
RGBrgb(157, 58, 203)
HSLhsl(281, 58%, 51%)
HSVhsv(281, 71%, 80%)
CMYKcmyk(22.7%, 71.4%, 0%, 20.4%)
CIE-LABlab(44.95, 62.66, -56.95)
CIE-LCHlch(44.95, 84.68, 317.73°)
OKLaboklab(55.32% 0.1484 -0.1608)
OKLCHoklch(55.32% 0.219 312.7)
XYZxyz(26.1952, 14.5068, 57.9085)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3ACB #68CB3A
analogous
#543ACB #9D3ACB #CB3AB0
triadic
#9D3ACB #CB9D3A #3ACB9D
tetradic
#9D3ACB #CB543A #68CB3A #3AB0CB
square
#9D3ACB #CB543A #68CB3A #3AB0CB
split-complementary
#9D3ACB #B0CB3A #3ACB54
monochromatic
#541D6E #792A9E #9D3ACB #B56AD8 #CD9BE5

Accessibility & contrast

On white

5.38
#9D3ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9D3ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3ACB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3ACB#FFFFFF#000000##FFFFFF
##9D3ACB1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#2B6CC8
Tritanopia (blue-blind)
#985A7F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d3acb;
/* rgb */ color: rgb(157, 58, 203);
/* oklch */ color: oklch(55.3% 0.219 312.7);
Tailwind
colors: {
  custom: {
    50: '#be79dc',
    500: '#9d3acb',
    950: '#000000',
  },
}
SCSS
$custom: #9d3acb;
$custom-light: #be79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3acb",
  "rgb": {
    "r": 157,
    "g": 58,
    "b": 203
  },
  "hsl": {
    "h": 280.966,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55319,
    "c": 0.21886,
    "h": 312.7
  },
  "luminance": 0.14506
}

Semantic roles & 50–950 ramp

primary
#9D3ACB
secondary
#A5D090
accent
#E14678
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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