#9D3CD0#9D3CD0

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

Color values

HEX#9D3CD0
RGBrgb(157, 60, 208)
HSLhsl(279, 61%, 53%)
HSVhsv(279, 71%, 82%)
CMYKcmyk(24.5%, 71.2%, 0%, 18.4%)
CIE-LABlab(45.57, 62.90, -58.83)
CIE-LCHlch(45.57, 86.12, 316.91°)
OKLaboklab(55.87% 0.1458 -0.1664)
OKLCHoklch(55.87% 0.221 311.2)
XYZxyz(26.9035, 14.9545, 61.1316)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CD0 #6FD03C
analogous
#533CD0 #9D3CD0 #D03CB9
triadic
#9D3CD0 #D09D3C #3CD09D
tetradic
#9D3CD0 #D0533C #6FD03C #3CB9D0
square
#9D3CD0 #D0533C #6FD03C #3CB9D0
split-complementary
#9D3CD0 #B9D03C #3CD053
monochromatic
#571C75 #7B28A7 #9D3CD0 #B66DDC #CF9FE8

Accessibility & contrast

On white

5.26
#9D3CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9D3CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CD0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CD0#FFFFFF#000000##FFFFFF
##9D3CD01.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D4
Deuteranopia (green-blind)
#266ECD
Tritanopia (blue-blind)
#965D82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d3cd0;
/* rgb */ color: rgb(157, 60, 208);
/* oklch */ color: oklch(55.9% 0.221 311.2);
Tailwind
colors: {
  custom: {
    50: '#be7adf',
    500: '#9d3cd0',
    950: '#000000',
  },
}
SCSS
$custom: #9d3cd0;
$custom-light: #be7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3cd0",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 208
  },
  "hsl": {
    "h": 279.324,
    "s": 61.157,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55867,
    "c": 0.22123,
    "h": 311.2
  },
  "luminance": 0.14954
}

Semantic roles & 50–950 ramp

primary
#9D3CD0
secondary
#AAD494
accent
#E4447B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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