#9E3BD2#9E3BD2

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

Color values

HEX#9E3BD2
RGBrgb(158, 59, 210)
HSLhsl(279, 63%, 53%)
HSVhsv(279, 72%, 82%)
CMYKcmyk(24.8%, 71.9%, 0%, 17.6%)
CIE-LABlab(45.70, 63.91, -59.76)
CIE-LCHlch(45.70, 87.50, 316.92°)
OKLaboklab(56.03% 0.1478 -0.1691)
OKLCHoklch(56.03% 0.225 311.2)
XYZxyz(27.2952, 15.0508, 62.4275)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3BD2 #6FD23B
analogous
#523BD2 #9E3BD2 #D23BBA
triadic
#9E3BD2 #D29E3B #3BD29E
tetradic
#9E3BD2 #D2523B #6FD23B #3BBAD2
square
#9E3BD2 #D2523B #6FD23B #3BBAD2
split-complementary
#9E3BD2 #BAD23B #3BD252
monochromatic
#581B77 #7C27A9 #9E3BD2 #B76DDD #CF9FE9

Accessibility & contrast

On white

5.24
#9E3BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9E3BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3BD2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3BD2#FFFFFF#000000##FFFFFF
##9E3BD21.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#226ECF
Tritanopia (blue-blind)
#975D83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e3bd2;
/* rgb */ color: rgb(158, 59, 210);
/* oklch */ color: oklch(56.0% 0.225 311.2);
Tailwind
colors: {
  custom: {
    50: '#bf7ae1',
    500: '#9e3bd2',
    950: '#000000',
  },
}
SCSS
$custom: #9e3bd2;
$custom-light: #bf7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3bd2",
  "rgb": {
    "r": 158,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 279.338,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56033,
    "c": 0.22457,
    "h": 311.2
  },
  "luminance": 0.1505
}

Semantic roles & 50–950 ramp

primary
#9E3BD2
secondary
#AAD594
accent
#E6427A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E3BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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