#9D3CD5#9D3CD5

#9D3CD5 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.2% C 0.226 H 310.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9D3CD5
RGBrgb(157, 60, 213)
HSLhsl(278, 65%, 54%)
HSVhsv(278, 72%, 84%)
CMYKcmyk(26.3%, 71.8%, 0%, 16.5%)
CIE-LABlab(45.91, 63.95, -61.16)
CIE-LCHlch(45.91, 88.48, 316.28°)
OKLaboklab(56.22% 0.1451 -0.1732)
OKLCHoklch(56.22% 0.226 310)
XYZxyz(27.5284, 15.2045, 64.4225)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3CD5 #74D53C
analogous
#503CD5 #9D3CD5 #D53CC1
triadic
#9D3CD5 #D59D3C #3CD59D
tetradic
#9D3CD5 #D5503C #74D53C #3CC1D5
square
#9D3CD5 #D5503C #74D53C #3CC1D5
split-complementary
#9D3CD5 #C1D53C #3CD550
monochromatic
#581B7C #7C26AE #9D3CD5 #B66EE0 #D0A1EB

Accessibility & contrast

On white

5.20
#9D3CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9D3CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3CD5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3CD5#FFFFFF#000000##FFFFFF
##9D3CD51.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#1B6ED2
Tritanopia (blue-blind)
#955F85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d3cd5;
/* rgb */ color: rgb(157, 60, 213);
/* oklch */ color: oklch(56.2% 0.226 310.0);
Tailwind
colors: {
  custom: {
    50: '#bf7ae3',
    500: '#9d3cd5',
    950: '#000000',
  },
}
SCSS
$custom: #9d3cd5;
$custom-light: #bf7ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3cd5",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 278.039,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56218,
    "c": 0.22596,
    "h": 310
  },
  "luminance": 0.15204
}

Semantic roles & 50–950 ramp

primary
#9D3CD5
secondary
#AED796
accent
#E8407D
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #9D3CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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