#9E4BCE#9E4BCE

#9E4BCE is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.201 H 310.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9E4BCE
RGBrgb(158, 75, 206)
HSLhsl(278, 57%, 55%)
HSVhsv(278, 64%, 81%)
CMYKcmyk(23.3%, 63.6%, 0%, 19.2%)
CIE-LABlab(47.95, 56.06, -53.84)
CIE-LCHlch(47.95, 77.73, 316.15°)
OKLaboklab(57.56% 0.1311 -0.1518)
OKLCHoklch(57.56% 0.201 310.8)
XYZxyz(27.7551, 16.7581, 60.1531)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4BCE #7BCE4B
analogous
#5C4BCE #9E4BCE #CE4BBD
triadic
#9E4BCE #CE9E4B #4BCE9E
tetradic
#9E4BCE #CE5C4B #7BCE4B #4BBDCE
square
#9E4BCE #CE5C4B #7BCE4B #4BBDCE
split-complementary
#9E4BCE #BDCE4B #4BCE5C
monochromatic
#5B227D #7F2FAD #9E4BCE #B87BDB #D2ABE8

Accessibility & contrast

On white

4.83
#9E4BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9E4BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4BCE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4BCE#FFFFFF#000000##FFFFFF
##9E4BCE1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED2
Deuteranopia (green-blind)
#3C73CB
Tritanopia (blue-blind)
#986586
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9e4bce;
/* rgb */ color: rgb(158, 75, 206);
/* oklch */ color: oklch(57.6% 0.201 310.8);
Tailwind
colors: {
  custom: {
    50: '#be82de',
    500: '#9e4bce',
    950: '#000000',
  },
}
SCSS
$custom: #9e4bce;
$custom-light: #be82de;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4bce",
  "rgb": {
    "r": 158,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 278.015,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57562,
    "c": 0.20054,
    "h": 310.8
  },
  "luminance": 0.16757
}

Semantic roles & 50–950 ramp

primary
#9E4BCE
secondary
#B3D69F
accent
#E0477F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9E4BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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