#9E5CE8#9E5CE8

#9E5CE8 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.5% C 0.205 H 302.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9E5CE8
RGBrgb(158, 92, 232)
HSLhsl(268, 75%, 64%)
HSVhsv(268, 60%, 91%)
CMYKcmyk(31.9%, 60.3%, 0%, 9%)
CIE-LABlab(52.67, 53.59, -61.02)
CIE-LCHlch(52.67, 81.22, 311.29°)
OKLaboklab(61.5% 0.1101 -0.1729)
OKLCHoklch(61.5% 0.205 302.5)
XYZxyz(32.4898, 20.7496, 78.6217)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5CE8 #A6E85C
analogous
#5C60E8 #9E5CE8 #E45CE8
triadic
#9E5CE8 #E89E5C #5CE89E
tetradic
#9E5CE8 #E85C60 #A6E85C #5CE8E4
square
#9E5CE8 #E85C60 #A6E85C #5CE8E4
split-complementary
#9E5CE8 #E8E45C #60E85C
monochromatic
#6019B1 #7E26E0 #9E5CE8 #BE92F0 #DEC7F7

Accessibility & contrast

On white

4.08
#9E5CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9E5CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5CE8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5CE8#FFFFFF#000000##000000
##9E5CE81.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEC
Deuteranopia (green-blind)
#347DE5
Tritanopia (blue-blind)
#90799A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e5ce8;
/* rgb */ color: rgb(158, 92, 232);
/* oklch */ color: oklch(61.5% 0.205 302.5);
Tailwind
colors: {
  custom: {
    50: '#bf8df0',
    500: '#9e5ce8',
    950: '#000000',
  },
}
SCSS
$custom: #9e5ce8;
$custom-light: #bf8df0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5ce8",
  "rgb": {
    "r": 158,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 268.286,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61501,
    "c": 0.20501,
    "h": 302.5
  },
  "luminance": 0.2075
}

Semantic roles & 50–950 ramp

primary
#9E5CE8
secondary
#D1E9B7
accent
#D70E79
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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