#9559EB#9559EB

#9559EB is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.211 H 298.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9559EB
RGBrgb(149, 89, 235)
HSLhsl(265, 78%, 64%)
HSVhsv(265, 62%, 92%)
CMYKcmyk(36.6%, 62.1%, 0%, 7.8%)
CIE-LABlab(51.30, 53.92, -64.97)
CIE-LCHlch(51.30, 84.43, 309.69°)
OKLaboklab(60.35% 0.1017 -0.1848)
OKLCHoklch(60.35% 0.211 298.8)
XYZxyz(30.9585, 19.5321, 80.7202)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9559EB #AFEB59
analogous
#5966EB #9559EB #DE59EB
triadic
#9559EB #EB9559 #59EB95
tetradic
#9559EB #EB5966 #AFEB59 #59EBDE
square
#9559EB #EB5966 #AFEB59 #59EBDE
split-complementary
#9559EB #EBDE59 #66EB59
monochromatic
#5716B4 #7222E4 #9559EB #B890F2 #DBC6F8

Accessibility & contrast

On white

4.28
#9559EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#9559EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9559EB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9559EB#FFFFFF#000000##000000
##9559EB1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#1479E8
Tritanopia (blue-blind)
#81799A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9559eb;
/* rgb */ color: rgb(149, 89, 235);
/* oklch */ color: oklch(60.3% 0.211 298.8);
Tailwind
colors: {
  custom: {
    50: '#b98bf2',
    500: '#9559eb',
    950: '#000000',
  },
}
SCSS
$custom: #9559eb;
$custom-light: #b98bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9559eb",
  "rgb": {
    "r": 149,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 264.658,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60345,
    "c": 0.21094,
    "h": 298.8
  },
  "luminance": 0.19532
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9559EB

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

Preview Lab → · Contrast checker → · Palette generator →

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