#9E56E7#9E56E7

#9E56E7 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.212 H 303.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9E56E7
RGBrgb(158, 86, 231)
HSLhsl(270, 75%, 62%)
HSVhsv(270, 63%, 91%)
CMYKcmyk(31.6%, 62.8%, 0%, 9.4%)
CIE-LABlab(51.49, 56.38, -62.37)
CIE-LCHlch(51.49, 84.08, 312.11°)
OKLaboklab(60.62% 0.117 -0.1769)
OKLCHoklch(60.62% 0.212 303.5)
XYZxyz(31.8489, 19.6942, 77.7093)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E56E7 #9FE756
analogous
#5657E7 #9E56E7 #E756E7
triadic
#9E56E7 #E79E56 #56E79E
tetradic
#9E56E7 #E75657 #9FE756 #56E7E7
square
#9E56E7 #E75657 #9FE756 #56E7E7
split-complementary
#9E56E7 #E7E756 #57E756
monochromatic
#6118AA #7F20DF #9E56E7 #BD8CEF #DCC1F6

Accessibility & contrast

On white

4.25
#9E56E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9E56E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E56E7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E56E7#FFFFFF#000000##000000
##9E56E71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#2A7AE4
Tritanopia (blue-blind)
#907597
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9e56e7;
/* rgb */ color: rgb(158, 86, 231);
/* oklch */ color: oklch(60.6% 0.212 303.5);
Tailwind
colors: {
  custom: {
    50: '#bf89ef',
    500: '#9e56e7',
    950: '#000000',
  },
}
SCSS
$custom: #9e56e7;
$custom-light: #bf89ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9e56e7",
  "rgb": {
    "r": 158,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 269.793,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60622,
    "c": 0.21208,
    "h": 303.5
  },
  "luminance": 0.19694
}

Semantic roles & 50–950 ramp

primary
#9E56E7
secondary
#CDE7B2
accent
#D70E73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E56E7

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

Preview Lab → · Contrast checker → · Palette generator →

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