#9E3DD1#9E3DD1

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

Color values

HEX#9E3DD1
RGBrgb(158, 61, 209)
HSLhsl(279, 62%, 53%)
HSVhsv(279, 71%, 82%)
CMYKcmyk(24.4%, 70.8%, 0%, 18%)
CIE-LABlab(45.92, 62.90, -58.84)
CIE-LCHlch(45.92, 86.13, 316.91°)
OKLaboklab(56.17% 0.146 -0.1664)
OKLCHoklch(56.17% 0.221 311.3)
XYZxyz(27.2757, 15.2107, 61.8084)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3DD1 #70D13D
analogous
#543DD1 #9E3DD1 #D13DBA
triadic
#9E3DD1 #D19E3D #3DD19E
tetradic
#9E3DD1 #D1543D #70D13D #3DBAD1
square
#9E3DD1 #D1543D #70D13D #3DBAD1
split-complementary
#9E3DD1 #BAD13D #3DD154
monochromatic
#581C77 #7C28A9 #9E3DD1 #B76EDD #CFA0E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E3DD1#FFFFFF#000000##FFFFFF
##9E3DD11.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)
#0068D5
Deuteranopia (green-blind)
#276ECE
Tritanopia (blue-blind)
#975E83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9e3dd1;
/* rgb */ color: rgb(158, 61, 209);
/* oklch */ color: oklch(56.2% 0.221 311.3);
Tailwind
colors: {
  custom: {
    50: '#bf7be0',
    500: '#9e3dd1',
    950: '#000000',
  },
}
SCSS
$custom: #9e3dd1;
$custom-light: #bf7be0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3dd1",
  "rgb": {
    "r": 158,
    "g": 61,
    "b": 209
  },
  "hsl": {
    "h": 279.324,
    "s": 61.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56166,
    "c": 0.22132,
    "h": 311.3
  },
  "luminance": 0.1521
}

Semantic roles & 50–950 ramp

primary
#9E3DD1
secondary
#ABD595
accent
#E5437B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E3DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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