#9E56FB#9E56FB

#9E56FB is a light, highly saturated violet. Relative luminance 0.209; OKLCH L 62.0% C 0.234 H 299.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9E56FB
RGBrgb(158, 86, 251)
HSLhsl(266, 95%, 66%)
HSVhsv(266, 66%, 98%)
CMYKcmyk(37.1%, 65.7%, 0%, 1.6%)
CIE-LABlab(52.83, 61.15, -71.39)
CIE-LCHlch(52.83, 94.00, 310.58°)
OKLaboklab(62.01% 0.1152 -0.2034)
OKLCHoklch(62.01% 0.234 299.5)
XYZxyz(34.8366, 20.8893, 93.4448)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E56FB #B3FB56
analogous
#5660FB #9E56FB #F156FB
triadic
#9E56FB #FB9E56 #56FB9E
tetradic
#9E56FB #FB5660 #B3FB56 #56FBF1
square
#9E56FB #FB5660 #B3FB56 #56FBF1
split-complementary
#9E56FB #FBF156 #60FB56
monochromatic
#5E05D2 #7C1AFA #9E56FB #C092FC #E3CEFE

Accessibility & contrast

On white

4.06
#9E56FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9E56FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E56FB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E56FB#FFFFFF#000000##000000
##9E56FB1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#007DF8
Tritanopia (blue-blind)
#897CA2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e56fb;
/* rgb */ color: rgb(158, 86, 251);
/* oklch */ color: oklch(62.0% 0.234 299.5);
Tailwind
colors: {
  custom: {
    50: '#c18afe',
    500: '#9e56fb',
    950: '#000000',
  },
}
SCSS
$custom: #9e56fb;
$custom-light: #c18afe;
$custom-dark: #000000;
JSON
{
  "hex": "#9e56fb",
  "rgb": {
    "r": 158,
    "g": 86,
    "b": 251
  },
  "hsl": {
    "h": 266.182,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6201,
    "c": 0.23374,
    "h": 299.5
  },
  "luminance": 0.2089
}

Semantic roles & 50–950 ramp

primary
#9E56FB
secondary
#DAF2BB
accent
#E60081
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #9E56FB

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

Preview Lab → · Contrast checker → · Palette generator →

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