#B560E2#B560E2

#B560E2 is a light, vivid violet. Relative luminance 0.237; OKLCH L 64.2% C 0.199 H 312.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B560E2
RGBrgb(181, 96, 226)
HSLhsl(279, 69%, 63%)
HSVhsv(279, 58%, 89%)
CMYKcmyk(19.9%, 57.5%, 0%, 11.4%)
CIE-LABlab(55.77, 55.62, -52.55)
CIE-LCHlch(55.77, 76.52, 316.63°)
OKLaboklab(64.24% 0.1341 -0.1474)
OKLCHoklch(64.24% 0.199 312.3)
XYZxyz(36.9640, 23.6814, 74.5605)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B560E2 #8DE260
analogous
#7460E2 #B560E2 #E260CE
triadic
#B560E2 #E2B560 #60E2B5
tetradic
#B560E2 #E27460 #8DE260 #60CEE2
square
#B560E2 #E27460 #8DE260 #60CEE2
split-complementary
#B560E2 #CEE260 #60E274
monochromatic
#791FA9 #9D2CD9 #B560E2 #CD94EB #E5C8F5

Accessibility & contrast

On white

3.66
#B560E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#B560E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B560E2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B560E2#FFFFFF#000000##000000
##B560E21.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3781E6
Deuteranopia (green-blind)
#5887DF
Tritanopia (blue-blind)
#B07798
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b560e2;
/* rgb */ color: rgb(181, 96, 226);
/* oklch */ color: oklch(64.2% 0.199 312.3);
Tailwind
colors: {
  custom: {
    50: '#ce91ec',
    500: '#b560e2',
    950: '#000000',
  },
}
SCSS
$custom: #b560e2;
$custom-light: #ce91ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b560e2",
  "rgb": {
    "r": 181,
    "g": 96,
    "b": 226
  },
  "hsl": {
    "h": 279.231,
    "s": 69.149,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64235,
    "c": 0.19929,
    "h": 312.3
  },
  "luminance": 0.2368
}

Semantic roles & 50–950 ramp

primary
#B560E2
secondary
#C8E6B8
accent
#D11456
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B560E2

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

Preview Lab → · Contrast checker → · Palette generator →

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