#9D3BA2#9D3BA2

#9D3BA2 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.9% C 0.180 H 325.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9D3BA2
RGBrgb(157, 59, 162)
HSLhsl(297, 47%, 43%)
HSVhsv(297, 64%, 64%)
CMYKcmyk(3.1%, 63.6%, 0%, 36.5%)
CIE-LABlab(42.62, 54.27, -36.59)
CIE-LCHlch(42.62, 65.45, 326.01°)
OKLaboklab(52.85% 0.149 -0.1014)
OKLCHoklch(52.85% 0.18 325.8)
XYZxyz(21.9897, 12.9060, 35.5083)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3BA2 #40A23B
analogous
#693BA2 #9D3BA2 #A23B73
triadic
#9D3BA2 #A29D3B #3BA29D
tetradic
#9D3BA2 #A2693B #40A23B #3B73A2
square
#9D3BA2 #A2693B #40A23B #3B73A2
split-complementary
#9D3BA2 #73A23B #3BA269
monochromatic
#461A48 #722B75 #9D3BA2 #BD58C2 #CF85D3

Accessibility & contrast

On white

5.86
#9D3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9D3BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3BA2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3BA2#FFFFFF#000000##FFFFFF
##9D3BA21.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA5
Deuteranopia (green-blind)
#4F699F
Tritanopia (blue-blind)
#A14A69
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d3ba2;
/* rgb */ color: rgb(157, 59, 162);
/* oklch */ color: oklch(52.9% 0.180 325.8);
Tailwind
colors: {
  custom: {
    50: '#bd78be',
    500: '#9d3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ba2;
$custom-light: #bd78be;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ba2",
  "rgb": {
    "r": 157,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 297.087,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52853,
    "c": 0.18018,
    "h": 325.8
  },
  "luminance": 0.12905
}

Semantic roles & 50–950 ramp

primary
#9D3BA2
secondary
#7FBD7C
accent
#D65258
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9D3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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