#9E56E8#9E56E8

#9E56E8 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.7% C 0.213 H 303.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9E56E8
RGBrgb(158, 86, 232)
HSLhsl(270, 76%, 62%)
HSVhsv(270, 63%, 91%)
CMYKcmyk(31.9%, 62.9%, 0%, 9%)
CIE-LABlab(51.55, 56.62, -62.83)
CIE-LCHlch(51.55, 84.58, 312.02°)
OKLaboklab(60.69% 0.117 -0.1782)
OKLCHoklch(60.69% 0.213 303.3)
XYZxyz(31.9905, 19.7509, 78.4552)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E56E8 #A0E856
analogous
#5657E8 #9E56E8 #E756E8
triadic
#9E56E8 #E89E56 #56E89E
tetradic
#9E56E8 #E85657 #A0E856 #56E8E7
square
#9E56E8 #E85657 #A0E856 #56E8E7
split-complementary
#9E56E8 #E8E756 #57E856
monochromatic
#6117AC #7F20E1 #9E56E8 #BD8CEF #DCC2F7

Accessibility & contrast

On white

4.24
#9E56E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#9E56E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E56E8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E56E8#FFFFFF#000000##000000
##9E56E81.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#297BE5
Tritanopia (blue-blind)
#907597
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9e56e8;
/* rgb */ color: rgb(158, 86, 232);
/* oklch */ color: oklch(60.7% 0.213 303.3);
Tailwind
colors: {
  custom: {
    50: '#bf89f0',
    500: '#9e56e8',
    950: '#000000',
  },
}
SCSS
$custom: #9e56e8;
$custom-light: #bf89f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e56e8",
  "rgb": {
    "r": 158,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 269.589,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60689,
    "c": 0.21317,
    "h": 303.3
  },
  "luminance": 0.19751
}

Semantic roles & 50–950 ramp

primary
#9E56E8
secondary
#CDE8B2
accent
#D80D74
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E56E8

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

Preview Lab → · Contrast checker → · Palette generator →

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