#B559F5#B559F5

#B559F5 is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.5% C 0.229 H 308.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B559F5
RGBrgb(181, 89, 245)
HSLhsl(275, 89%, 65%)
HSVhsv(275, 64%, 96%)
CMYKcmyk(26.1%, 63.7%, 0%, 3.9%)
CIE-LABlab(55.65, 63.06, -63.37)
CIE-LCHlch(55.65, 89.40, 314.86°)
OKLaboklab(64.51% 0.142 -0.1791)
OKLCHoklch(64.51% 0.229 308.4)
XYZxyz(39.1065, 23.5617, 88.8562)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B559F5 #99F559
analogous
#6759F5 #B559F5 #F559E7
triadic
#B559F5 #F5B559 #59F5B5
tetradic
#B559F5 #F56759 #99F559 #59E7F5
square
#B559F5 #F56759 #99F559 #59E7F5
split-complementary
#B559F5 #E7F559 #59F567
monochromatic
#7B0CC8 #9B1FF2 #B559F5 #CF93F8 #E8CCFC

Accessibility & contrast

On white

3.68
#B559F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#B559F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B559F5
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B559F5#FFFFFF#000000##000000
##B559F51.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#3E86F1
Tritanopia (blue-blind)
#AB799F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b559f5;
/* rgb */ color: rgb(181, 89, 245);
/* oklch */ color: oklch(64.5% 0.229 308.4);
Tailwind
colors: {
  custom: {
    50: '#cf8df9',
    500: '#b559f5',
    950: '#000000',
  },
}
SCSS
$custom: #b559f5;
$custom-light: #cf8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#b559f5",
  "rgb": {
    "r": 181,
    "g": 89,
    "b": 245
  },
  "hsl": {
    "h": 275.385,
    "s": 88.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64505,
    "c": 0.22859,
    "h": 308.4
  },
  "luminance": 0.23561
}

Semantic roles & 50–950 ramp

primary
#B559F5
secondary
#D0EFBB
accent
#E5005E
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D17
muted
#837D85

Preview Lab

Preview with #B559F5

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

Preview Lab → · Contrast checker → · Palette generator →

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