#9D3DD5#9D3DD5

#9D3DD5 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.3% C 0.225 H 309.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9D3DD5
RGBrgb(157, 61, 213)
HSLhsl(278, 64%, 54%)
HSVhsv(278, 71%, 84%)
CMYKcmyk(26.3%, 71.4%, 0%, 16.5%)
CIE-LABlab(46.06, 63.54, -60.92)
CIE-LCHlch(46.06, 88.03, 316.20°)
OKLaboklab(56.32% 0.1441 -0.1725)
OKLCHoklch(56.32% 0.225 309.9)
XYZxyz(27.5812, 15.3103, 64.4401)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DD5 #75D53D
analogous
#513DD5 #9D3DD5 #D53DC1
triadic
#9D3DD5 #D59D3D #3DD59D
tetradic
#9D3DD5 #D5513D #75D53D #3DC1D5
square
#9D3DD5 #D5513D #75D53D #3DC1D5
split-complementary
#9D3DD5 #C1D53D #3DD551
monochromatic
#591B7D #7C26AF #9D3DD5 #B66FE0 #D0A2EB

Accessibility & contrast

On white

5.17
#9D3DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9D3DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DD5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DD5#FFFFFF#000000##FFFFFF
##9D3DD51.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d3dd5;
/* rgb */ color: rgb(157, 61, 213);
/* oklch */ color: oklch(56.3% 0.225 309.9);
Tailwind
colors: {
  custom: {
    50: '#bf7be3',
    500: '#9d3dd5',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dd5;
$custom-light: #bf7be3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dd5",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 213
  },
  "hsl": {
    "h": 277.895,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56319,
    "c": 0.22482,
    "h": 309.9
  },
  "luminance": 0.1531
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D3DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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