#9D3DA2#9D3DA2

#9D3DA2 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.1% C 0.177 H 325.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9D3DA2
RGBrgb(157, 61, 162)
HSLhsl(297, 45%, 44%)
HSVhsv(297, 62%, 64%)
CMYKcmyk(3.1%, 62.3%, 0%, 36.5%)
CIE-LABlab(42.94, 53.40, -36.09)
CIE-LCHlch(42.94, 64.45, 325.94°)
OKLaboklab(53.08% 0.1465 -0.0999)
OKLCHoklch(53.08% 0.177 325.7)
XYZxyz(22.0945, 13.1156, 35.5432)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DA2 #42A23D
analogous
#6A3DA2 #9D3DA2 #A23D74
triadic
#9D3DA2 #A29D3D #3DA29D
tetradic
#9D3DA2 #A26A3D #42A23D #3D74A2
square
#9D3DA2 #A26A3D #42A23D #3D74A2
split-complementary
#9D3DA2 #74A23D #3DA26A
monochromatic
#471C49 #722C76 #9D3DA2 #BC5BC1 #CE87D2

Accessibility & contrast

On white

5.80
#9D3DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9D3DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DA2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DA2#FFFFFF#000000##FFFFFF
##9D3DA21.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#516A9F
Tritanopia (blue-blind)
#A14B6A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d3da2;
/* rgb */ color: rgb(157, 61, 162);
/* oklch */ color: oklch(53.1% 0.177 325.7);
Tailwind
colors: {
  custom: {
    50: '#bd79be',
    500: '#9d3da2',
    950: '#000000',
  },
}
SCSS
$custom: #9d3da2;
$custom-light: #bd79be;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3da2",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 297.03,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53082,
    "c": 0.17737,
    "h": 325.7
  },
  "luminance": 0.13114
}

Semantic roles & 50–950 ramp

primary
#9D3DA2
secondary
#82BC7E
accent
#D55359
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9D3DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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