#9E56EF#9E56EF

#9E56EF is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.2% C 0.221 H 301.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9E56EF
RGBrgb(158, 86, 239)
HSLhsl(268, 83%, 64%)
HSVhsv(268, 64%, 94%)
CMYKcmyk(33.9%, 64%, 0%, 6.3%)
CIE-LABlab(52.01, 58.27, -66.02)
CIE-LCHlch(52.01, 88.06, 311.44°)
OKLaboklab(61.17% 0.1164 -0.1876)
OKLCHoklch(61.17% 0.221 301.8)
XYZxyz(33.0046, 20.1566, 83.7964)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E56EF #A7EF56
analogous
#565AEF #9E56EF #EA56EF
triadic
#9E56EF #EF9E56 #56EF9E
tetradic
#9E56EF #EF565A #A7EF56 #56EFEA
square
#9E56EF #EF565A #A7EF56 #56EFEA
split-complementary
#9E56EF #EFEA56 #5AEF56
monochromatic
#6012B9 #7E1EEA #9E56EF #BE8EF4 #DEC6FA

Accessibility & contrast

On white

4.17
#9E56EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#9E56EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E56EF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E56EF#FFFFFF#000000##000000
##9E56EF1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#187BEC
Tritanopia (blue-blind)
#8D789B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9e56ef;
/* rgb */ color: rgb(158, 86, 239);
/* oklch */ color: oklch(61.2% 0.221 301.8);
Tailwind
colors: {
  custom: {
    50: '#c08af5',
    500: '#9e56ef',
    950: '#000000',
  },
}
SCSS
$custom: #9e56ef;
$custom-light: #c08af5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e56ef",
  "rgb": {
    "r": 158,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 268.235,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61167,
    "c": 0.22078,
    "h": 301.8
  },
  "luminance": 0.20157
}

Semantic roles & 50–950 ramp

primary
#9E56EF
secondary
#D2EBB5
accent
#DF0679
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E56EF

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

Preview Lab → · Contrast checker → · Palette generator →

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