#9E3BD1#9E3BD1

#9E3BD1 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 56.0% C 0.224 H 311.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9E3BD1
RGBrgb(158, 59, 209)
HSLhsl(280, 62%, 53%)
HSVhsv(280, 72%, 82%)
CMYKcmyk(24.4%, 71.8%, 0%, 18%)
CIE-LABlab(45.64, 63.70, -59.30)
CIE-LCHlch(45.64, 87.03, 317.05°)
OKLaboklab(55.96% 0.1479 -0.1677)
OKLCHoklch(55.96% 0.224 311.4)
XYZxyz(27.1710, 15.0012, 61.7734)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3BD1 #6ED13B
analogous
#533BD1 #9E3BD1 #D13BB9
triadic
#9E3BD1 #D19E3B #3BD19E
tetradic
#9E3BD1 #D1533B #6ED13B #3BB9D1
square
#9E3BD1 #D1533B #6ED13B #3BB9D1
split-complementary
#9E3BD1 #B9D13B #3BD153
monochromatic
#571C76 #7C27A7 #9E3BD1 #B76DDD #CF9EE8

Accessibility & contrast

On white

5.25
#9E3BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9E3BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3BD1
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3BD1#FFFFFF#000000##FFFFFF
##9E3BD11.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#246ECE
Tritanopia (blue-blind)
#985C83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e3bd1;
/* rgb */ color: rgb(158, 59, 209);
/* oklch */ color: oklch(56.0% 0.224 311.4);
Tailwind
colors: {
  custom: {
    50: '#bf7ae0',
    500: '#9e3bd1',
    950: '#000000',
  },
}
SCSS
$custom: #9e3bd1;
$custom-light: #bf7ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3bd1",
  "rgb": {
    "r": 158,
    "g": 59,
    "b": 209
  },
  "hsl": {
    "h": 279.6,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55963,
    "c": 0.22362,
    "h": 311.4
  },
  "luminance": 0.15
}

Semantic roles & 50–950 ramp

primary
#9E3BD1
secondary
#A9D493
accent
#E5437A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E3BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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