#9559EC#9559EC

#9559EC is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.4% C 0.212 H 298.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9559EC
RGBrgb(149, 89, 236)
HSLhsl(264, 79%, 64%)
HSVhsv(264, 62%, 93%)
CMYKcmyk(36.9%, 62.3%, 0%, 7.5%)
CIE-LABlab(51.37, 54.17, -65.42)
CIE-LCHlch(51.37, 84.94, 309.62°)
OKLaboklab(60.41% 0.1016 -0.1861)
OKLCHoklch(60.41% 0.212 298.6)
XYZxyz(31.1033, 19.5901, 81.4832)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9559EC #B0EC59
analogous
#5966EC #9559EC #DE59EC
triadic
#9559EC #EC9559 #59EC95
tetradic
#9559EC #EC5966 #B0EC59 #59ECDE
square
#9559EC #EC5966 #B0EC59 #59ECDE
split-complementary
#9559EC #ECDE59 #66EC59
monochromatic
#5715B6 #7222E6 #9559EC #B890F2 #DBC7F9

Accessibility & contrast

On white

4.27
#9559EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#9559EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9559EC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9559EC#FFFFFF#000000##000000
##9559EC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#1079E9
Tritanopia (blue-blind)
#817A9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9559ec;
/* rgb */ color: rgb(149, 89, 236);
/* oklch */ color: oklch(60.4% 0.212 298.6);
Tailwind
colors: {
  custom: {
    50: '#ba8bf3',
    500: '#9559ec',
    950: '#000000',
  },
}
SCSS
$custom: #9559ec;
$custom-light: #ba8bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9559ec",
  "rgb": {
    "r": 149,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 264.49,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60414,
    "c": 0.21208,
    "h": 298.6
  },
  "luminance": 0.1959
}

Semantic roles & 50–950 ramp

primary
#9559EC
secondary
#D5EAB6
accent
#DC0A86
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9559EC

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

Preview Lab → · Contrast checker → · Palette generator →

#9559EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva