#9E4BD3#9E4BD3

#9E4BD3 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.9% C 0.206 H 309.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9E4BD3
RGBrgb(158, 75, 211)
HSLhsl(277, 61%, 56%)
HSVhsv(277, 64%, 83%)
CMYKcmyk(25.1%, 64.5%, 0%, 17.3%)
CIE-LABlab(48.27, 57.15, -56.21)
CIE-LCHlch(48.27, 80.16, 315.48°)
OKLaboklab(57.89% 0.1308 -0.1587)
OKLCHoklch(57.89% 0.206 309.5)
XYZxyz(28.3722, 17.0049, 63.4030)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4BD3 #80D34B
analogous
#5A4BD3 #9E4BD3 #D34BC4
triadic
#9E4BD3 #D39E4B #4BD39E
tetradic
#9E4BD3 #D35A4B #80D34B #4BC4D3
square
#9E4BD3 #D35A4B #80D34B #4BC4D3
split-complementary
#9E4BD3 #C4D34B #4BD35A
monochromatic
#5D2083 #7F2CB5 #9E4BD3 #B97CDF #D3ADEB

Accessibility & contrast

On white

4.77
#9E4BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9E4BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4BD3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4BD3#FFFFFF#000000##FFFFFF
##9E4BD31.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#3774D0
Tritanopia (blue-blind)
#976789
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e4bd3;
/* rgb */ color: rgb(158, 75, 211);
/* oklch */ color: oklch(57.9% 0.206 309.5);
Tailwind
colors: {
  custom: {
    50: '#bf82e1',
    500: '#9e4bd3',
    950: '#000000',
  },
}
SCSS
$custom: #9e4bd3;
$custom-light: #bf82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4bd3",
  "rgb": {
    "r": 158,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 276.618,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57887,
    "c": 0.20567,
    "h": 309.5
  },
  "luminance": 0.17004
}

Semantic roles & 50–950 ramp

primary
#9E4BD3
secondary
#B7D9A1
accent
#E44482
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9E4BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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