#9E56E6#9E56E6

#9E56E6 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.6% C 0.211 H 303.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9E56E6
RGBrgb(158, 86, 230)
HSLhsl(270, 74%, 62%)
HSVhsv(270, 63%, 90%)
CMYKcmyk(31.3%, 62.6%, 0%, 9.8%)
CIE-LABlab(51.43, 56.15, -61.91)
CIE-LCHlch(51.43, 83.58, 312.21°)
OKLaboklab(60.56% 0.1171 -0.1755)
OKLCHoklch(60.56% 0.211 303.7)
XYZxyz(31.7080, 19.6379, 76.9676)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E56E6 #9EE656
analogous
#5656E6 #9E56E6 #E656E6
triadic
#9E56E6 #E69E56 #56E69E
tetradic
#9E56E6 #E65656 #9EE656 #56E6E6
square
#9E56E6 #E65656 #9EE656 #56E6E6
split-complementary
#9E56E6 #E6E656 #56E656
monochromatic
#6119A9 #7F21DE #9E56E6 #BD8BEE #DBC1F6

Accessibility & contrast

On white

4.26
#9E56E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#9E56E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E56E6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E56E6#FFFFFF#000000##000000
##9E56E61.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#2C7AE3
Tritanopia (blue-blind)
#907596
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9e56e6;
/* rgb */ color: rgb(158, 86, 230);
/* oklch */ color: oklch(60.6% 0.211 303.7);
Tailwind
colors: {
  custom: {
    50: '#bf89ef',
    500: '#9e56e6',
    950: '#000000',
  },
}
SCSS
$custom: #9e56e6;
$custom-light: #bf89ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9e56e6",
  "rgb": {
    "r": 158,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 270,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60555,
    "c": 0.21099,
    "h": 303.7
  },
  "luminance": 0.19638
}

Semantic roles & 50–950 ramp

primary
#9E56E6
secondary
#CCE6B1
accent
#D60F73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E56E6

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

Preview Lab → · Contrast checker → · Palette generator →

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