#9E3BD5#9E3BD5

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

Color values

HEX#9E3BD5
RGBrgb(158, 59, 213)
HSLhsl(279, 65%, 53%)
HSVhsv(279, 72%, 84%)
CMYKcmyk(25.8%, 72.3%, 0%, 16.5%)
CIE-LABlab(45.91, 64.54, -61.15)
CIE-LCHlch(45.91, 88.91, 316.54°)
OKLaboklab(56.24% 0.1474 -0.1732)
OKLCHoklch(56.24% 0.227 310.4)
XYZxyz(27.6724, 15.2017, 64.4144)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3BD5 #72D53B
analogous
#513BD5 #9E3BD5 #D53BBF
triadic
#9E3BD5 #D59E3B #3BD59E
tetradic
#9E3BD5 #D5513B #72D53B #3BBFD5
square
#9E3BD5 #D5513B #72D53B #3BBFD5
split-complementary
#9E3BD5 #BFD53B #3BD551
monochromatic
#591A7B #7D25AE #9E3BD5 #B76DE0 #D0A0EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E3BD5#FFFFFF#000000##FFFFFF
##9E3BD51.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)
#0068D9
Deuteranopia (green-blind)
#1C6ED2
Tritanopia (blue-blind)
#965E85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9e3bd5;
/* rgb */ color: rgb(158, 59, 213);
/* oklch */ color: oklch(56.2% 0.227 310.4);
Tailwind
colors: {
  custom: {
    50: '#bf7ae3',
    500: '#9e3bd5',
    950: '#000000',
  },
}
SCSS
$custom: #9e3bd5;
$custom-light: #bf7ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3bd5",
  "rgb": {
    "r": 158,
    "g": 59,
    "b": 213
  },
  "hsl": {
    "h": 278.571,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56244,
    "c": 0.22737,
    "h": 310.4
  },
  "luminance": 0.15201
}

Semantic roles & 50–950 ramp

primary
#9E3BD5
secondary
#ACD795
accent
#E8407C
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #9E3BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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