#B560F0#B560F0

#B560F0 is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 65.1% C 0.214 H 308.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B560F0
RGBrgb(181, 96, 240)
HSLhsl(275, 83%, 66%)
HSVhsv(275, 60%, 94%)
CMYKcmyk(24.6%, 60%, 0%, 5.9%)
CIE-LABlab(56.57, 58.64, -59.11)
CIE-LCHlch(56.57, 83.26, 314.77°)
OKLaboklab(65.08% 0.1342 -0.1666)
OKLCHoklch(65.08% 0.214 308.8)
XYZxyz(38.9640, 24.4814, 85.0939)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B560F0 #9BF060
analogous
#6D60F0 #B560F0 #F060E3
triadic
#B560F0 #F0B560 #60F0B5
tetradic
#B560F0 #F06D60 #9BF060 #60E3F0
square
#B560F0 #F06D60 #9BF060 #60E3F0
split-complementary
#B560F0 #E3F060 #60F06D
monochromatic
#7B12C3 #9B28EB #B560F0 #CF98F5 #E9D0FB

Accessibility & contrast

On white

3.56
#B560F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#B560F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B560F0
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B560F0#FFFFFF#000000##000000
##B560F01.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2184F5
Deuteranopia (green-blind)
#4C89ED
Tritanopia (blue-blind)
#AD7C9F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b560f0;
/* rgb */ color: rgb(181, 96, 240);
/* oklch */ color: oklch(65.1% 0.214 308.8);
Tailwind
colors: {
  custom: {
    50: '#cf91f6',
    500: '#b560f0',
    950: '#000000',
  },
}
SCSS
$custom: #b560f0;
$custom-light: #cf91f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b560f0",
  "rgb": {
    "r": 181,
    "g": 96,
    "b": 240
  },
  "hsl": {
    "h": 275.417,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65075,
    "c": 0.21395,
    "h": 308.8
  },
  "luminance": 0.24481
}

Semantic roles & 50–950 ramp

primary
#B560F0
secondary
#D2EEBE
accent
#DF065F
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B560F0

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

Preview Lab → · Contrast checker → · Palette generator →

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