#B559E5#B559E5

#B559E5 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.5% C 0.212 H 312.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B559E5
RGBrgb(181, 89, 229)
HSLhsl(279, 73%, 62%)
HSVhsv(279, 61%, 90%)
CMYKcmyk(21%, 61.1%, 0%, 10.2%)
CIE-LABlab(54.69, 59.64, -55.96)
CIE-LCHlch(54.69, 81.79, 316.82°)
OKLaboklab(63.5% 0.1426 -0.1574)
OKLCHoklch(63.5% 0.212 312.2)
XYZxyz(36.7688, 22.6266, 76.5440)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B559E5 #89E559
analogous
#6F59E5 #B559E5 #E559CF
triadic
#B559E5 #E5B559 #59E5B5
tetradic
#B559E5 #E56F59 #89E559 #59CFE5
square
#B559E5 #E56F59 #89E559 #59CFE5
split-complementary
#B559E5 #CFE559 #59E56F
monochromatic
#781AA9 #9D24DD #B559E5 #CD8EED #E4C3F6

Accessibility & contrast

On white

3.80
#B559E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#B559E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B559E5
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B559E5#FFFFFF#000000##000000
##B559E51.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#217EE9
Deuteranopia (green-blind)
#4E85E2
Tritanopia (blue-blind)
#B07397
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b559e5;
/* rgb */ color: rgb(181, 89, 229);
/* oklch */ color: oklch(63.5% 0.212 312.2);
Tailwind
colors: {
  custom: {
    50: '#cf8dee',
    500: '#b559e5',
    950: '#000000',
  },
}
SCSS
$custom: #b559e5;
$custom-light: #cf8dee;
$custom-dark: #000000;
JSON
{
  "hex": "#b559e5",
  "rgb": {
    "r": 181,
    "g": 89,
    "b": 229
  },
  "hsl": {
    "h": 279.429,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63502,
    "c": 0.2124,
    "h": 312.2
  },
  "luminance": 0.22626
}

Semantic roles & 50–950 ramp

primary
#B559E5
secondary
#C5E6B3
accent
#D51054
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B559E5

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

Preview Lab → · Contrast checker → · Palette generator →

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