#B560E4#B560E4

#B560E4 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.4% C 0.201 H 311.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B560E4
RGBrgb(181, 96, 228)
HSLhsl(279, 71%, 64%)
HSVhsv(279, 58%, 89%)
CMYKcmyk(20.6%, 57.9%, 0%, 10.6%)
CIE-LABlab(55.88, 56.05, -53.49)
CIE-LCHlch(55.88, 77.48, 316.34°)
OKLaboklab(64.35% 0.1342 -0.1502)
OKLCHoklch(64.35% 0.201 311.8)
XYZxyz(37.2400, 23.7918, 76.0143)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B560E4 #8FE460
analogous
#7360E4 #B560E4 #E460D1
triadic
#B560E4 #E4B560 #60E4B5
tetradic
#B560E4 #E47360 #8FE460 #60D1E4
square
#B560E4 #E47360 #8FE460 #60D1E4
split-complementary
#B560E4 #D1E460 #60E473
monochromatic
#791DAC #9D2CDB #B560E4 #CD94ED #E6C9F6

Accessibility & contrast

On white

3.65
#B560E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#B560E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B560E4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B560E4#FFFFFF#000000##000000
##B560E41.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3482E8
Deuteranopia (green-blind)
#5688E1
Tritanopia (blue-blind)
#B07899
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b560e4;
/* rgb */ color: rgb(181, 96, 228);
/* oklch */ color: oklch(64.4% 0.201 311.8);
Tailwind
colors: {
  custom: {
    50: '#ce91ed',
    500: '#b560e4',
    950: '#000000',
  },
}
SCSS
$custom: #b560e4;
$custom-light: #ce91ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b560e4",
  "rgb": {
    "r": 181,
    "g": 96,
    "b": 228
  },
  "hsl": {
    "h": 278.636,
    "s": 70.968,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64352,
    "c": 0.20138,
    "h": 311.8
  },
  "luminance": 0.23791
}

Semantic roles & 50–950 ramp

primary
#B560E4
secondary
#C9E7B9
accent
#D31357
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B560E4

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

Preview Lab → · Contrast checker → · Palette generator →

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