#9E5CEE#9E5CEE

#9E5CEE is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.9% C 0.212 H 301.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9E5CEE
RGBrgb(158, 92, 238)
HSLhsl(267, 81%, 65%)
HSVhsv(267, 61%, 93%)
CMYKcmyk(33.6%, 61.3%, 0%, 6.7%)
CIE-LABlab(53.05, 55.03, -63.78)
CIE-LCHlch(53.05, 84.24, 310.79°)
OKLaboklab(61.9% 0.1098 -0.181)
OKLCHoklch(61.9% 0.212 301.2)
XYZxyz(33.3566, 21.0963, 83.1870)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5CEE #ACEE5C
analogous
#5C63EE #9E5CEE #E75CEE
triadic
#9E5CEE #EE9E5C #5CEE9E
tetradic
#9E5CEE #EE5C63 #ACEE5C #5CEEE7
square
#9E5CEE #EE5C63 #ACEE5C #5CEEE7
split-complementary
#9E5CEE #EEE75C #63EE5C
monochromatic
#6014BC #7D25E8 #9E5CEE #BF93F4 #E0CBFA

Accessibility & contrast

On white

4.02
#9E5CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#9E5CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5CEE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5CEE#FFFFFF#000000##000000
##9E5CEE1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#2A7EEB
Tritanopia (blue-blind)
#8D7B9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9e5cee;
/* rgb */ color: rgb(158, 92, 238);
/* oklch */ color: oklch(61.9% 0.212 301.2);
Tailwind
colors: {
  custom: {
    50: '#bf8df4',
    500: '#9e5cee',
    950: '#000000',
  },
}
SCSS
$custom: #9e5cee;
$custom-light: #bf8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5cee",
  "rgb": {
    "r": 158,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 267.123,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61899,
    "c": 0.21173,
    "h": 301.2
  },
  "luminance": 0.21096
}

Semantic roles & 50–950 ramp

primary
#9E5CEE
secondary
#D5ECBA
accent
#DD087D
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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