#B559CB#B559CB

#B559CB is a mid, vivid purple. Relative luminance 0.213; OKLCH L 62.0% C 0.186 H 319.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B559CB
RGBrgb(181, 89, 203)
HSLhsl(288, 52%, 57%)
HSVhsv(288, 56%, 80%)
CMYKcmyk(10.8%, 56.2%, 0%, 20.4%)
CIE-LABlab(53.26, 54.34, -43.49)
CIE-LCHlch(53.26, 69.60, 321.33°)
OKLaboklab(62% 0.1419 -0.121)
OKLCHoklch(62% 0.186 319.5)
XYZxyz(33.4066, 21.2817, 58.8364)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B559CB #6FCB59
analogous
#7C59CB #B559CB #CB59A8
triadic
#B559CB #CBB559 #59CBB5
tetradic
#B559CB #CB7C59 #6FCB59 #59A8CB
square
#B559CB #CB7C59 #6FCB59 #59A8CB
split-complementary
#B559CB #A8CB59 #59CB7C
monochromatic
#702881 #9837B0 #B559CB #CA88DA #DFB6E8

Accessibility & contrast

On white

4.00
#B559CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#B559CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B559CB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B559CB#FFFFFF#000000##000000
##B559CB1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4179CF
Deuteranopia (green-blind)
#6182C8
Tritanopia (blue-blind)
#B66A8A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b559cb;
/* rgb */ color: rgb(181, 89, 203);
/* oklch */ color: oklch(62.0% 0.186 319.5);
Tailwind
colors: {
  custom: {
    50: '#ce8cdb',
    500: '#b559cb',
    950: '#000000',
  },
}
SCSS
$custom: #b559cb;
$custom-light: #ce8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b559cb",
  "rgb": {
    "r": 181,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 288.421,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61999,
    "c": 0.18648,
    "h": 319.5
  },
  "luminance": 0.2128
}

Semantic roles & 50–950 ramp

primary
#B559CB
secondary
#B2D7A9
accent
#DC4C68
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B559CB

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

Preview Lab → · Contrast checker → · Palette generator →

#B559CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva