#9D3ED1#9D3ED1

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

Color values

HEX#9D3ED1
RGBrgb(157, 62, 209)
HSLhsl(279, 62%, 53%)
HSVhsv(279, 70%, 82%)
CMYKcmyk(24.9%, 70.3%, 0%, 18%)
CIE-LABlab(45.93, 62.28, -58.83)
CIE-LCHlch(45.93, 85.68, 316.63°)
OKLaboklab(56.14% 0.1437 -0.1664)
OKLCHoklch(56.14% 0.22 310.8)
XYZxyz(27.1337, 15.2174, 61.8171)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3ED1 #72D13E
analogous
#543ED1 #9D3ED1 #D13EBB
triadic
#9D3ED1 #D19D3E #3ED19D
tetradic
#9D3ED1 #D1543E #72D13E #3EBBD1
square
#9D3ED1 #D1543E #72D13E #3EBBD1
split-complementary
#9D3ED1 #BBD13E #3ED154
monochromatic
#581D78 #7C28A9 #9D3ED1 #B66FDD #CFA1E9

Accessibility & contrast

On white

5.19
#9D3ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D3ED1
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3ED1#FFFFFF#000000##FFFFFF
##9D3ED11.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#276ECE
Tritanopia (blue-blind)
#965E83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d3ed1;
/* rgb */ color: rgb(157, 62, 209);
/* oklch */ color: oklch(56.1% 0.220 310.8);
Tailwind
colors: {
  custom: {
    50: '#be7be0',
    500: '#9d3ed1',
    950: '#000000',
  },
}
SCSS
$custom: #9d3ed1;
$custom-light: #be7be0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3ed1",
  "rgb": {
    "r": 157,
    "g": 62,
    "b": 209
  },
  "hsl": {
    "h": 278.776,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56144,
    "c": 0.21984,
    "h": 310.8
  },
  "luminance": 0.15217
}

Semantic roles & 50–950 ramp

primary
#9D3ED1
secondary
#ACD596
accent
#E5437C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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