#9E3BD3#9E3BD3

#9E3BD3 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.1% C 0.225 H 310.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9E3BD3
RGBrgb(158, 59, 211)
HSLhsl(279, 63%, 53%)
HSVhsv(279, 72%, 83%)
CMYKcmyk(25.1%, 72%, 0%, 17.3%)
CIE-LABlab(45.77, 64.12, -60.23)
CIE-LCHlch(45.77, 87.97, 316.79°)
OKLaboklab(56.1% 0.1476 -0.1704)
OKLCHoklch(56.1% 0.225 310.9)
XYZxyz(27.4201, 15.1008, 63.0857)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3BD3 #70D33B
analogous
#523BD3 #9E3BD3 #D33BBC
triadic
#9E3BD3 #D39E3B #3BD39E
tetradic
#9E3BD3 #D3523B #70D33B #3BBCD3
square
#9E3BD3 #D3523B #70D33B #3BBCD3
split-complementary
#9E3BD3 #BCD33B #3BD352
monochromatic
#581B79 #7C26AB #9E3BD3 #B76DDE #CF9FE9

Accessibility & contrast

On white

5.22
#9E3BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9E3BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3BD3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3BD3#FFFFFF#000000##FFFFFF
##9E3BD31.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#206ED0
Tritanopia (blue-blind)
#975D84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e3bd3;
/* rgb */ color: rgb(158, 59, 211);
/* oklch */ color: oklch(56.1% 0.225 310.9);
Tailwind
colors: {
  custom: {
    50: '#bf7ae1',
    500: '#9e3bd3',
    950: '#000000',
  },
}
SCSS
$custom: #9e3bd3;
$custom-light: #bf7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3bd3",
  "rgb": {
    "r": 158,
    "g": 59,
    "b": 211
  },
  "hsl": {
    "h": 279.079,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56103,
    "c": 0.22549,
    "h": 310.9
  },
  "luminance": 0.151
}

Semantic roles & 50–950 ramp

primary
#9E3BD3
secondary
#ABD694
accent
#E6417B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E3BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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