#9559CB#9559CB

#9559CB is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.3% C 0.174 H 306.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9559CB
RGBrgb(149, 89, 203)
HSLhsl(272, 52%, 57%)
HSVhsv(272, 56%, 80%)
CMYKcmyk(26.6%, 56.2%, 0%, 20.4%)
CIE-LABlab(49.31, 46.14, -50.01)
CIE-LCHlch(49.31, 68.04, 312.69°)
OKLaboklab(58.25% 0.1024 -0.1409)
OKLCHoklch(58.25% 0.174 306)
XYZxyz(26.7440, 17.8463, 58.5241)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9559CB #8FCB59
analogous
#5C59CB #9559CB #CB59C8
triadic
#9559CB #CB9559 #59CB95
tetradic
#9559CB #CB5C59 #8FCB59 #59C8CB
square
#9559CB #CB5C59 #8FCB59 #59C8CB
split-complementary
#9559CB #C8CB59 #59CB5C
monochromatic
#572881 #7737B0 #9559CB #B388DA #D1B6E8

Accessibility & contrast

On white

4.60
#9559CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9559CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9559CB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9559CB#FFFFFF#000000##FFFFFF
##9559CB1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F73CF
Deuteranopia (green-blind)
#4576C8
Tritanopia (blue-blind)
#8C6F89
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9559cb;
/* rgb */ color: rgb(149, 89, 203);
/* oklch */ color: oklch(58.3% 0.174 306.0);
Tailwind
colors: {
  custom: {
    50: '#b78adb',
    500: '#9559cb',
    950: '#000000',
  },
}
SCSS
$custom: #9559cb;
$custom-light: #b78adb;
$custom-dark: #000000;
JSON
{
  "hex": "#9559cb",
  "rgb": {
    "r": 149,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 271.579,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58252,
    "c": 0.17415,
    "h": 306
  },
  "luminance": 0.17846
}

Semantic roles & 50–950 ramp

primary
#9559CB
secondary
#BFD7A9
accent
#DC4C90
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9559CB

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

Preview Lab → · Contrast checker → · Palette generator →

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