#9D3DD1#9D3DD1

#9D3DD1 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.0% C 0.221 H 310.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9D3DD1
RGBrgb(157, 61, 209)
HSLhsl(279, 62%, 53%)
HSVhsv(279, 71%, 82%)
CMYKcmyk(24.9%, 70.8%, 0%, 18%)
CIE-LABlab(45.78, 62.70, -59.07)
CIE-LCHlch(45.78, 86.14, 316.71°)
OKLaboklab(56.04% 0.1447 -0.1671)
OKLCHoklch(56.04% 0.221 310.9)
XYZxyz(27.0798, 15.1097, 61.7992)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DD1 #71D13D
analogous
#533DD1 #9D3DD1 #D13DBB
triadic
#9D3DD1 #D19D3D #3DD19D
tetradic
#9D3DD1 #D1533D #71D13D #3DBBD1
square
#9D3DD1 #D1533D #71D13D #3DBBD1
split-complementary
#9D3DD1 #BBD13D #3DD153
monochromatic
#571C77 #7C28A9 #9D3DD1 #B66EDD #CFA0E8

Accessibility & contrast

On white

5.22
#9D3DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9D3DD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DD1
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DD1#FFFFFF#000000##FFFFFF
##9D3DD11.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#256ECE
Tritanopia (blue-blind)
#965E83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d3dd1;
/* rgb */ color: rgb(157, 61, 209);
/* oklch */ color: oklch(56.0% 0.221 310.9);
Tailwind
colors: {
  custom: {
    50: '#be7be0',
    500: '#9d3dd1',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dd1;
$custom-light: #be7be0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dd1",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 209
  },
  "hsl": {
    "h": 278.919,
    "s": 61.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5604,
    "c": 0.22102,
    "h": 310.9
  },
  "luminance": 0.15109
}

Semantic roles & 50–950 ramp

primary
#9D3DD1
secondary
#ABD595
accent
#E5437C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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