#B559ED#B559ED

#B559ED is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.0% C 0.220 H 310.2°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B559ED
RGBrgb(181, 89, 237)
HSLhsl(277, 80%, 64%)
HSVhsv(277, 62%, 93%)
CMYKcmyk(23.6%, 62.4%, 0%, 7.1%)
CIE-LABlab(55.16, 61.34, -59.69)
CIE-LCHlch(55.16, 85.59, 315.78°)
OKLaboklab(64% 0.1424 -0.1683)
OKLCHoklch(64% 0.22 310.2)
XYZxyz(37.9116, 23.0837, 82.5628)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B559ED #91ED59
analogous
#6B59ED #B559ED #ED59DB
triadic
#B559ED #EDB559 #59EDB5
tetradic
#B559ED #ED6B59 #91ED59 #59DBED
square
#B559ED #ED6B59 #91ED59 #59DBED
split-complementary
#B559ED #DBED59 #59ED6B
monochromatic
#7A14B8 #9C22E7 #B559ED #CE90F3 #E6C7F9

Accessibility & contrast

On white

3.74
#B559ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#B559ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B559ED
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B559ED#FFFFFF#000000##000000
##B559ED1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0780F2
Deuteranopia (green-blind)
#4786EA
Tritanopia (blue-blind)
#AE769B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b559ed;
/* rgb */ color: rgb(181, 89, 237);
/* oklch */ color: oklch(64.0% 0.220 310.2);
Tailwind
colors: {
  custom: {
    50: '#cf8df4',
    500: '#b559ed',
    950: '#000000',
  },
}
SCSS
$custom: #b559ed;
$custom-light: #cf8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#b559ed",
  "rgb": {
    "r": 181,
    "g": 89,
    "b": 237
  },
  "hsl": {
    "h": 277.297,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63997,
    "c": 0.22049,
    "h": 310.2
  },
  "luminance": 0.23083
}

Semantic roles & 50–950 ramp

primary
#B559ED
secondary
#CBEBB7
accent
#DD0959
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D17
muted
#837D85

Preview Lab

Preview with #B559ED

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

Preview Lab → · Contrast checker → · Palette generator →

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