#B560E7#B560E7

#B560E7 is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.5% C 0.205 H 311.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B560E7
RGBrgb(181, 96, 231)
HSLhsl(278, 74%, 64%)
HSVhsv(278, 58%, 91%)
CMYKcmyk(21.6%, 58.4%, 0%, 9.4%)
CIE-LABlab(56.05, 56.69, -54.91)
CIE-LCHlch(56.05, 78.92, 315.92°)
OKLaboklab(64.53% 0.1342 -0.1543)
OKLCHoklch(64.53% 0.205 311)
XYZxyz(37.6601, 23.9598, 78.2266)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B560E7 #92E760
analogous
#7260E7 #B560E7 #E760D5
triadic
#B560E7 #E7B560 #60E7B5
tetradic
#B560E7 #E77260 #92E760 #60D5E7
square
#B560E7 #E77260 #92E760 #60D5E7
split-complementary
#B560E7 #D5E760 #60E772
monochromatic
#7A1BB2 #9C2BDF #B560E7 #CE95EF #E6CAF7

Accessibility & contrast

On white

3.63
#B560E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#B560E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B560E7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B560E7#FFFFFF#000000##000000
##B560E71.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3082EB
Deuteranopia (green-blind)
#5488E4
Tritanopia (blue-blind)
#AF799B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b560e7;
/* rgb */ color: rgb(181, 96, 231);
/* oklch */ color: oklch(64.5% 0.205 311.0);
Tailwind
colors: {
  custom: {
    50: '#ce91ef',
    500: '#b560e7',
    950: '#000000',
  },
}
SCSS
$custom: #b560e7;
$custom-light: #ce91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b560e7",
  "rgb": {
    "r": 181,
    "g": 96,
    "b": 231
  },
  "hsl": {
    "h": 277.778,
    "s": 73.77,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6453,
    "c": 0.20451,
    "h": 311
  },
  "luminance": 0.23959
}

Semantic roles & 50–950 ramp

primary
#B560E7
secondary
#CBE9BA
accent
#D61059
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B560E7

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

Preview Lab → · Contrast checker → · Palette generator →

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