#B560EB#B560EB

#B560EB is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.8% C 0.209 H 310.0°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B560EB
RGBrgb(181, 96, 235)
HSLhsl(277, 78%, 65%)
HSVhsv(277, 59%, 92%)
CMYKcmyk(23%, 59.1%, 0%, 7.8%)
CIE-LABlab(56.28, 57.55, -56.78)
CIE-LCHlch(56.28, 80.85, 315.39°)
OKLaboklab(64.77% 0.1342 -0.1598)
OKLCHoklch(64.77% 0.209 310)
XYZxyz(38.2315, 24.1884, 81.2360)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B560EB #96EB60
analogous
#7060EB #B560EB #EB60DB
triadic
#B560EB #EBB560 #60EBB5
tetradic
#B560EB #EB7060 #96EB60 #60DBEB
square
#B560EB #EB7060 #96EB60 #60DBEB
split-complementary
#B560EB #DBEB60 #60EB70
monochromatic
#7A17B9 #9C2AE4 #B560EB #CE96F2 #E8CDF9

Accessibility & contrast

On white

3.60
#B560EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#B560EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B560EB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B560EB#FFFFFF#000000##000000
##B560EB1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A83EF
Deuteranopia (green-blind)
#5088E8
Tritanopia (blue-blind)
#AE7A9D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b560eb;
/* rgb */ color: rgb(181, 96, 235);
/* oklch */ color: oklch(64.8% 0.209 310.0);
Tailwind
colors: {
  custom: {
    50: '#cf91f2',
    500: '#b560eb',
    950: '#000000',
  },
}
SCSS
$custom: #b560eb;
$custom-light: #cf91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b560eb",
  "rgb": {
    "r": 181,
    "g": 96,
    "b": 235
  },
  "hsl": {
    "h": 276.691,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6477,
    "c": 0.2087,
    "h": 310
  },
  "luminance": 0.24188
}

Semantic roles & 50–950 ramp

primary
#B560EB
secondary
#CEEBBC
accent
#DA0C5C
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B560EB

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

Preview Lab → · Contrast checker → · Palette generator →

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