#9E4BD8#9E4BD8

#9E4BD8 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.2% C 0.211 H 308.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9E4BD8
RGBrgb(158, 75, 216)
HSLhsl(275, 64%, 57%)
HSVhsv(275, 65%, 85%)
CMYKcmyk(26.9%, 65.3%, 0%, 15.3%)
CIE-LABlab(48.59, 58.26, -58.55)
CIE-LCHlch(48.59, 82.59, 314.86°)
OKLaboklab(58.22% 0.1305 -0.1656)
OKLCHoklch(58.22% 0.211 308.2)
XYZxyz(29.0088, 17.2596, 66.7557)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4BD8 #85D84B
analogous
#574BD8 #9E4BD8 #D84BCC
triadic
#9E4BD8 #D89E4B #4BD89E
tetradic
#9E4BD8 #D8574B #85D84B #4BCCD8
square
#9E4BD8 #D8574B #85D84B #4BCCD8
split-complementary
#9E4BD8 #CCD84B #4BD857
monochromatic
#5E1E8B #8029BD #9E4BD8 #B97DE3 #D4B0EE

Accessibility & contrast

On white

4.72
#9E4BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9E4BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4BD8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4BD8#FFFFFF#000000##FFFFFF
##9E4BD81.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#3074D5
Tritanopia (blue-blind)
#95698B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e4bd8;
/* rgb */ color: rgb(158, 75, 216);
/* oklch */ color: oklch(58.2% 0.211 308.2);
Tailwind
colors: {
  custom: {
    50: '#bf83e5',
    500: '#9e4bd8',
    950: '#000000',
  },
}
SCSS
$custom: #9e4bd8;
$custom-light: #bf83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4bd8",
  "rgb": {
    "r": 158,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 275.319,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58219,
    "c": 0.21082,
    "h": 308.2
  },
  "luminance": 0.17259
}

Semantic roles & 50–950 ramp

primary
#9E4BD8
secondary
#BADCA3
accent
#E74085
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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