#9559E5#9559E5

#9559E5 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.9% C 0.204 H 300.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9559E5
RGBrgb(149, 89, 229)
HSLhsl(266, 73%, 62%)
HSVhsv(266, 61%, 90%)
CMYKcmyk(34.9%, 61.1%, 0%, 10.2%)
CIE-LABlab(50.91, 52.43, -62.23)
CIE-LCHlch(50.91, 81.37, 310.11°)
OKLaboklab(59.93% 0.1021 -0.1767)
OKLCHoklch(59.93% 0.204 300)
XYZxyz(30.1062, 19.1912, 76.2317)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9559E5 #A9E559
analogous
#5963E5 #9559E5 #DB59E5
triadic
#9559E5 #E59559 #59E595
tetradic
#9559E5 #E55963 #A9E559 #59E5DB
square
#9559E5 #E55963 #A9E559 #59E5DB
split-complementary
#9559E5 #E5DB59 #63E559
monochromatic
#581AA9 #7324DD #9559E5 #B78EED #D9C3F6

Accessibility & contrast

On white

4.34
#9559E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#9559E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9559E5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9559E5#FFFFFF#000000##000000
##9559E51.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#2478E2
Tritanopia (blue-blind)
#847797
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9559e5;
/* rgb */ color: rgb(149, 89, 229);
/* oklch */ color: oklch(59.9% 0.204 300.0);
Tailwind
colors: {
  custom: {
    50: '#b98bee',
    500: '#9559e5',
    950: '#000000',
  },
}
SCSS
$custom: #9559e5;
$custom-light: #b98bee;
$custom-dark: #000000;
JSON
{
  "hex": "#9559e5",
  "rgb": {
    "r": 149,
    "g": 89,
    "b": 229
  },
  "hsl": {
    "h": 265.714,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59934,
    "c": 0.2041,
    "h": 300
  },
  "luminance": 0.19191
}

Semantic roles & 50–950 ramp

primary
#9559E5
secondary
#D1E6B3
accent
#D51081
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9559E5

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

Preview Lab → · Contrast checker → · Palette generator →

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