#9E5EE3#9E5EE3

#9E5EE3 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.5% C 0.197 H 303.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9E5EE3
RGBrgb(158, 94, 227)
HSLhsl(269, 70%, 63%)
HSVhsv(269, 59%, 89%)
CMYKcmyk(30.4%, 58.6%, 0%, 11%)
CIE-LABlab(52.75, 51.36, -58.09)
CIE-LCHlch(52.75, 77.54, 311.48°)
OKLaboklab(61.46% 0.1078 -0.1643)
OKLCHoklch(61.46% 0.197 303.3)
XYZxyz(31.9652, 20.8206, 74.9929)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5EE3 #A3E35E
analogous
#5E60E3 #9E5EE3 #E05EE3
triadic
#9E5EE3 #E39E5E #5EE39E
tetradic
#9E5EE3 #E35E60 #A3E35E #5EE3E0
square
#9E5EE3 #E35E60 #A3E35E #5EE3E0
split-complementary
#9E5EE3 #E3E05E #60E35E
monochromatic
#611DA9 #7F2ADA #9E5EE3 #BD92EC #DDC6F5

Accessibility & contrast

On white

4.07
#9E5EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9E5EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5EE3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5EE3#FFFFFF#000000##000000
##9E5EE31.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7DE7
Deuteranopia (green-blind)
#3D7EE0
Tritanopia (blue-blind)
#917998
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e5ee3;
/* rgb */ color: rgb(158, 94, 227);
/* oklch */ color: oklch(61.5% 0.197 303.3);
Tailwind
colors: {
  custom: {
    50: '#bf8eec',
    500: '#9e5ee3',
    950: '#000000',
  },
}
SCSS
$custom: #9e5ee3;
$custom-light: #bf8eec;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5ee3",
  "rgb": {
    "r": 158,
    "g": 94,
    "b": 227
  },
  "hsl": {
    "h": 268.872,
    "s": 70.37,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6146,
    "c": 0.19653,
    "h": 303.3
  },
  "luminance": 0.20821
}

Semantic roles & 50–950 ramp

primary
#9E5EE3
secondary
#CFE6B6
accent
#D21376
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E5EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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