#9D3CD1#9D3CD1

#9D3CD1 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.9% C 0.222 H 311.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9D3CD1
RGBrgb(157, 60, 209)
HSLhsl(279, 62%, 53%)
HSVhsv(279, 71%, 82%)
CMYKcmyk(24.9%, 71.3%, 0%, 18%)
CIE-LABlab(45.64, 63.11, -59.30)
CIE-LCHlch(45.64, 86.60, 316.78°)
OKLaboklab(55.94% 0.1457 -0.1678)
OKLCHoklch(55.94% 0.222 311)
XYZxyz(27.0269, 15.0039, 61.7815)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CD1 #70D13C
analogous
#523CD1 #9D3CD1 #D13CBB
triadic
#9D3CD1 #D19D3C #3CD19D
tetradic
#9D3CD1 #D1523C #70D13C #3CBBD1
square
#9D3CD1 #D1523C #70D13C #3CBBD1
split-complementary
#9D3CD1 #BBD13C #3CD152
monochromatic
#571C77 #7B28A8 #9D3CD1 #B66EDD #CF9FE8

Accessibility & contrast

On white

5.25
#9D3CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9D3CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CD1
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CD1#FFFFFF#000000##FFFFFF
##9D3CD11.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d3cd1;
/* rgb */ color: rgb(157, 60, 209);
/* oklch */ color: oklch(55.9% 0.222 311.0);
Tailwind
colors: {
  custom: {
    50: '#bf7ae0',
    500: '#9d3cd1',
    950: '#000000',
  },
}
SCSS
$custom: #9d3cd1;
$custom-light: #bf7ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3cd1",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 209
  },
  "hsl": {
    "h": 279.06,
    "s": 61.826,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55937,
    "c": 0.22218,
    "h": 311
  },
  "luminance": 0.15003
}

Semantic roles & 50–950 ramp

primary
#9D3CD1
secondary
#ABD594
accent
#E5437B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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