#9E3BDB#9E3BDB

#9E3BDB is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.7% C 0.233 H 308.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9E3BDB
RGBrgb(158, 59, 219)
HSLhsl(277, 69%, 55%)
HSVhsv(277, 73%, 86%)
CMYKcmyk(27.9%, 73.1%, 0%, 14.1%)
CIE-LABlab(46.33, 65.80, -63.91)
CIE-LCHlch(46.33, 91.73, 315.84°)
OKLaboklab(56.67% 0.1464 -0.1813)
OKLCHoklch(56.67% 0.233 308.9)
XYZxyz(28.4481, 15.5120, 68.4996)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3BDB #78DB3B
analogous
#4E3BDB #9E3BDB #DB3BC8
triadic
#9E3BDB #DB9E3B #3BDB9E
tetradic
#9E3BDB #DB4E3B #78DB3B #3BC8DB
square
#9E3BDB #DB4E3B #78DB3B #3BC8DB
split-complementary
#9E3BDB #C8DB3B #3BDB4E
monochromatic
#5B1883 #7E22B7 #9E3BDB #B86FE4 #D1A2EE

Accessibility & contrast

On white

5.12
#9E3BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9E3BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3BDB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3BDB#FFFFFF#000000##FFFFFF
##9E3BDB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#066FD8
Tritanopia (blue-blind)
#956188
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9e3bdb;
/* rgb */ color: rgb(158, 59, 219);
/* oklch */ color: oklch(56.7% 0.233 308.9);
Tailwind
colors: {
  custom: {
    50: '#c07ae7',
    500: '#9e3bdb',
    950: '#000000',
  },
}
SCSS
$custom: #9e3bdb;
$custom-light: #c07ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3bdb",
  "rgb": {
    "r": 158,
    "g": 59,
    "b": 219
  },
  "hsl": {
    "h": 277.125,
    "s": 68.966,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56672,
    "c": 0.233,
    "h": 308.9
  },
  "luminance": 0.15512
}

Semantic roles & 50–950 ramp

primary
#9E3BDB
secondary
#B1DB97
accent
#EC3C7F
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9E3BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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