#9E4BE3#9E4BE3

#9E4BE3 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.0% C 0.222 H 305.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9E4BE3
RGBrgb(158, 75, 227)
HSLhsl(273, 73%, 59%)
HSVhsv(273, 67%, 89%)
CMYKcmyk(30.4%, 67%, 0%, 11%)
CIE-LABlab(49.31, 60.72, -63.63)
CIE-LCHlch(49.31, 87.95, 313.66°)
OKLaboklab(58.97% 0.1294 -0.1805)
OKLCHoklch(58.97% 0.222 305.6)
XYZxyz(30.4787, 17.8475, 74.4974)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4BE3 #90E34B
analogous
#524BE3 #9E4BE3 #E34BDC
triadic
#9E4BE3 #E39E4B #4BE39E
tetradic
#9E4BE3 #E3524B #90E34B #4BDCE3
square
#9E4BE3 #E3524B #90E34B #4BDCE3
split-complementary
#9E4BE3 #DCE34B #4BE352
monochromatic
#60189B #8120D0 #9E4BE3 #BB80EB #D7B5F3

Accessibility & contrast

On white

4.60
#9E4BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9E4BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4BE3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4BE3#FFFFFF#000000##FFFFFF
##9E4BE31.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E8
Deuteranopia (green-blind)
#1B75E0
Tritanopia (blue-blind)
#926D91
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9e4be3;
/* rgb */ color: rgb(158, 75, 227);
/* oklch */ color: oklch(59.0% 0.222 305.6);
Tailwind
colors: {
  custom: {
    50: '#c083ed',
    500: '#9e4be3',
    950: '#000000',
  },
}
SCSS
$custom: #9e4be3;
$custom-light: #c083ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4be3",
  "rgb": {
    "r": 158,
    "g": 75,
    "b": 227
  },
  "hsl": {
    "h": 272.763,
    "s": 73.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5897,
    "c": 0.22212,
    "h": 305.6
  },
  "luminance": 0.17847
}

Semantic roles & 50–950 ramp

primary
#9E4BE3
secondary
#C2E3A7
accent
#F0388B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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