#9E56F3#9E56F3

#9E56F3 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.4% C 0.225 H 301.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9E56F3
RGBrgb(158, 86, 243)
HSLhsl(268, 87%, 65%)
HSVhsv(268, 65%, 95%)
CMYKcmyk(35%, 64.6%, 0%, 4.7%)
CIE-LABlab(52.28, 59.23, -67.82)
CIE-LCHlch(52.28, 90.04, 311.13°)
OKLaboklab(61.45% 0.1161 -0.1929)
OKLCHoklch(61.45% 0.225 301)
XYZxyz(33.6021, 20.3955, 86.9431)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E56F3 #ABF356
analogous
#565DF3 #9E56F3 #ED56F3
triadic
#9E56F3 #F39E56 #56F39E
tetradic
#9E56F3 #F3565D #ABF356 #56F3ED
square
#9E56F3 #F3565D #ABF356 #56F3ED
split-complementary
#9E56F3 #F3ED56 #5DF356
monochromatic
#600EC1 #7D1DEF #9E56F3 #BF8FF7 #E0C8FB

Accessibility & contrast

On white

4.13
#9E56F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#9E56F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E56F3
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E56F3#FFFFFF#000000##000000
##9E56F31.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#047CF0
Tritanopia (blue-blind)
#8C799D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9e56f3;
/* rgb */ color: rgb(158, 86, 243);
/* oklch */ color: oklch(61.4% 0.225 301.0);
Tailwind
colors: {
  custom: {
    50: '#c08af8',
    500: '#9e56f3',
    950: '#000000',
  },
}
SCSS
$custom: #9e56f3;
$custom-light: #c08af8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e56f3",
  "rgb": {
    "r": 158,
    "g": 86,
    "b": 243
  },
  "hsl": {
    "h": 267.516,
    "s": 86.74,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61445,
    "c": 0.22511,
    "h": 301
  },
  "luminance": 0.20396
}

Semantic roles & 50–950 ramp

primary
#9E56F3
secondary
#D5EDB7
accent
#E3027C
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E56F3

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

Preview Lab → · Contrast checker → · Palette generator →

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