#9559DC#9559DC

#9559DC is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.3% C 0.194 H 301.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9559DC
RGBrgb(149, 89, 220)
HSLhsl(267, 65%, 61%)
HSVhsv(267, 60%, 86%)
CMYKcmyk(32.3%, 59.5%, 0%, 13.7%)
CIE-LABlab(50.34, 50.22, -58.06)
CIE-LCHlch(50.34, 76.77, 310.86°)
OKLaboklab(59.33% 0.1024 -0.1645)
OKLCHoklch(59.33% 0.194 301.9)
XYZxyz(28.8821, 18.7015, 69.7844)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9559DC #A0DC59
analogous
#595EDC #9559DC #D659DC
triadic
#9559DC #DC9559 #59DC95
tetradic
#9559DC #DC595E #A0DC59 #59DCD6
square
#9559DC #DC595E #A0DC59 #59DCD6
split-complementary
#9559DC #DCD659 #5EDC59
monochromatic
#58209A #752BCD #9559DC #B58CE7 #D6BEF1

Accessibility & contrast

On white

4.43
#9559DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9559DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9559DC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9559DC#FFFFFF#000000##000000
##9559DC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E77E0
Deuteranopia (green-blind)
#3377D9
Tritanopia (blue-blind)
#877492
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9559dc;
/* rgb */ color: rgb(149, 89, 220);
/* oklch */ color: oklch(59.3% 0.194 301.9);
Tailwind
colors: {
  custom: {
    50: '#b88ae8',
    500: '#9559dc',
    950: '#000000',
  },
}
SCSS
$custom: #9559dc;
$custom-light: #b88ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9559dc",
  "rgb": {
    "r": 149,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 267.481,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59333,
    "c": 0.19378,
    "h": 301.9
  },
  "luminance": 0.18702
}

Semantic roles & 50–950 ramp

primary
#9559DC
secondary
#CAE1AF
accent
#CD187A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9559DC

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

Preview Lab → · Contrast checker → · Palette generator →

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