#B559EC#B559EC

#B559EC is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.9% C 0.219 H 310.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B559EC
RGBrgb(181, 89, 236)
HSLhsl(278, 79%, 64%)
HSVhsv(278, 62%, 93%)
CMYKcmyk(23.3%, 62.3%, 0%, 7.5%)
CIE-LABlab(55.10, 61.13, -59.23)
CIE-LCHlch(55.10, 85.11, 315.90°)
OKLaboklab(63.93% 0.1425 -0.1669)
OKLCHoklch(63.93% 0.219 310.5)
XYZxyz(37.7659, 23.0254, 81.7955)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B559EC #90EC59
analogous
#6B59EC #B559EC #EC59D9
triadic
#B559EC #ECB559 #59ECB5
tetradic
#B559EC #EC6B59 #90EC59 #59D9EC
square
#B559EC #EC6B59 #90EC59 #59D9EC
split-complementary
#B559EC #D9EC59 #59EC6B
monochromatic
#7A15B6 #9D22E6 #B559EC #CD90F2 #E6C7F9

Accessibility & contrast

On white

3.75
#B559EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#B559EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B559EC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B559EC#FFFFFF#000000##000000
##B559EC1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C80F1
Deuteranopia (green-blind)
#4885E9
Tritanopia (blue-blind)
#AE769B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b559ec;
/* rgb */ color: rgb(181, 89, 236);
/* oklch */ color: oklch(63.9% 0.219 310.5);
Tailwind
colors: {
  custom: {
    50: '#cf8df3',
    500: '#b559ec',
    950: '#000000',
  },
}
SCSS
$custom: #b559ec;
$custom-light: #cf8df3;
$custom-dark: #000000;
JSON
{
  "hex": "#b559ec",
  "rgb": {
    "r": 181,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 277.551,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63934,
    "c": 0.21948,
    "h": 310.5
  },
  "luminance": 0.23025
}

Semantic roles & 50–950 ramp

primary
#B559EC
secondary
#CAEAB6
accent
#DC0A58
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D17
muted
#837D85

Preview Lab

Preview with #B559EC

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

Preview Lab → · Contrast checker → · Palette generator →

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