#9E4BE2#9E4BE2

#9E4BE2 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.9% C 0.221 H 305.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9E4BE2
RGBrgb(158, 75, 226)
HSLhsl(273, 72%, 59%)
HSVhsv(273, 67%, 89%)
CMYKcmyk(30.1%, 66.8%, 0%, 11.4%)
CIE-LABlab(49.24, 60.50, -63.17)
CIE-LCHlch(49.24, 87.47, 313.76°)
OKLaboklab(58.9% 0.1295 -0.1792)
OKLCHoklch(58.9% 0.221 305.9)
XYZxyz(30.3411, 17.7925, 73.7726)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4BE2 #8FE24B
analogous
#534BE2 #9E4BE2 #E24BDB
triadic
#9E4BE2 #E29E4B #4BE29E
tetradic
#9E4BE2 #E2534B #8FE24B #4BDBE2
square
#9E4BE2 #E2534B #8FE24B #4BDBE2
split-complementary
#9E4BE2 #DBE24B #4BE253
monochromatic
#60199A #8121CF #9E4BE2 #BA80EA #D7B4F3

Accessibility & contrast

On white

4.61
#9E4BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9E4BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4BE2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4BE2#FFFFFF#000000##FFFFFF
##9E4BE21.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#1E75DF
Tritanopia (blue-blind)
#926C91
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9e4be2;
/* rgb */ color: rgb(158, 75, 226);
/* oklch */ color: oklch(58.9% 0.221 305.9);
Tailwind
colors: {
  custom: {
    50: '#bf83ec',
    500: '#9e4be2',
    950: '#000000',
  },
}
SCSS
$custom: #9e4be2;
$custom-light: #bf83ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4be2",
  "rgb": {
    "r": 158,
    "g": 75,
    "b": 226
  },
  "hsl": {
    "h": 272.98,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.589,
    "c": 0.22109,
    "h": 305.9
  },
  "luminance": 0.17792
}

Semantic roles & 50–950 ramp

primary
#9E4BE2
secondary
#C1E2A7
accent
#EF398B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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