#9D3ED0#9D3ED0

#9D3ED0 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.1% C 0.219 H 311.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9D3ED0
RGBrgb(157, 62, 208)
HSLhsl(279, 61%, 53%)
HSVhsv(279, 70%, 82%)
CMYKcmyk(24.5%, 70.2%, 0%, 18.4%)
CIE-LABlab(45.86, 62.07, -58.36)
CIE-LCHlch(45.86, 85.20, 316.76°)
OKLaboklab(56.08% 0.1438 -0.165)
OKLCHoklch(56.08% 0.219 311.1)
XYZxyz(27.0103, 15.1681, 61.1671)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3ED0 #71D03E
analogous
#543ED0 #9D3ED0 #D03EBA
triadic
#9D3ED0 #D09D3E #3ED09D
tetradic
#9D3ED0 #D0543E #71D03E #3EBAD0
square
#9D3ED0 #D0543E #71D03E #3EBAD0
split-complementary
#9D3ED0 #BAD03E #3ED054
monochromatic
#571D77 #7C29A8 #9D3ED0 #B66FDC #CFA0E8

Accessibility & contrast

On white

5.21
#9D3ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9D3ED0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3ED0
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3ED0#FFFFFF#000000##FFFFFF
##9D3ED01.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D4
Deuteranopia (green-blind)
#286ECD
Tritanopia (blue-blind)
#965E83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d3ed0;
/* rgb */ color: rgb(157, 62, 208);
/* oklch */ color: oklch(56.1% 0.219 311.1);
Tailwind
colors: {
  custom: {
    50: '#be7bdf',
    500: '#9d3ed0',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ed0;
$custom-light: #be7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ed0",
  "rgb": {
    "r": 157,
    "g": 62,
    "b": 208
  },
  "hsl": {
    "h": 279.041,
    "s": 60.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56075,
    "c": 0.21888,
    "h": 311.1
  },
  "luminance": 0.15167
}

Semantic roles & 50–950 ramp

primary
#9D3ED0
secondary
#ABD495
accent
#E4447C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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