#9E56EE#9E56EE

#9E56EE is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.1% C 0.220 H 302.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9E56EE
RGBrgb(158, 86, 238)
HSLhsl(268, 82%, 64%)
HSVhsv(268, 64%, 93%)
CMYKcmyk(33.6%, 63.9%, 0%, 6.7%)
CIE-LABlab(51.95, 58.04, -65.56)
CIE-LCHlch(51.95, 87.56, 311.52°)
OKLaboklab(61.1% 0.1165 -0.1863)
OKLCHoklch(61.1% 0.22 302)
XYZxyz(32.8573, 20.0976, 83.0205)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E56EE #A6EE56
analogous
#565AEE #9E56EE #EA56EE
triadic
#9E56EE #EE9E56 #56EE9E
tetradic
#9E56EE #EE565A #A6EE56 #56EEEA
square
#9E56EE #EE565A #A6EE56 #56EEEA
split-complementary
#9E56EE #EEEA56 #5AEE56
monochromatic
#6012B7 #7E1EE8 #9E56EE #BE8EF4 #DEC5F9

Accessibility & contrast

On white

4.18
#9E56EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#9E56EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E56EE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E56EE#FFFFFF#000000##000000
##9E56EE1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#1B7BEB
Tritanopia (blue-blind)
#8E779B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9e56ee;
/* rgb */ color: rgb(158, 86, 238);
/* oklch */ color: oklch(61.1% 0.220 302.0);
Tailwind
colors: {
  custom: {
    50: '#c08af4',
    500: '#9e56ee',
    950: '#000000',
  },
}
SCSS
$custom: #9e56ee;
$custom-light: #c08af4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e56ee",
  "rgb": {
    "r": 158,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 268.421,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61098,
    "c": 0.2197,
    "h": 302
  },
  "luminance": 0.20098
}

Semantic roles & 50–950 ramp

primary
#9E56EE
secondary
#D1EBB5
accent
#DE0778
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E56EE

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

Preview Lab → · Contrast checker → · Palette generator →

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