#B560FB#B560FB

#B560FB is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.8% C 0.225 H 306.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B560FB
RGBrgb(181, 96, 251)
HSLhsl(273, 95%, 68%)
HSVhsv(273, 62%, 98%)
CMYKcmyk(27.9%, 61.8%, 0%, 1.6%)
CIE-LABlab(57.23, 61.08, -64.16)
CIE-LCHlch(57.23, 88.58, 313.59°)
OKLaboklab(65.77% 0.1339 -0.1814)
OKLCHoklch(65.77% 0.225 306.4)
XYZxyz(40.6478, 25.1549, 93.9621)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B560FB #A6FB60
analogous
#6760FB #B560FB #FB60F4
triadic
#B560FB #FBB560 #60FBB5
tetradic
#B560FB #FB6760 #A6FB60 #60F4FB
square
#B560FB #FB6760 #A6FB60 #60F4FB
split-complementary
#B560FB #F4FB60 #60FB67
monochromatic
#7B06DB #9924F9 #B560FB #D19CFD #EDD7FE

Accessibility & contrast

On white

3.48
#B560FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#B560FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B560FB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B560FB#FFFFFF#000000##000000
##B560FB1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#3F8AF7
Tritanopia (blue-blind)
#A980A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b560fb;
/* rgb */ color: rgb(181, 96, 251);
/* oklch */ color: oklch(65.8% 0.225 306.4);
Tailwind
colors: {
  custom: {
    50: '#cf91fd',
    500: '#b560fb',
    950: '#000000',
  },
}
SCSS
$custom: #b560fb;
$custom-light: #cf91fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b560fb",
  "rgb": {
    "r": 181,
    "g": 96,
    "b": 251
  },
  "hsl": {
    "h": 272.903,
    "s": 95.092,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65765,
    "c": 0.22548,
    "h": 306.4
  },
  "luminance": 0.25155
}

Semantic roles & 50–950 ramp

primary
#B560FB
secondary
#D9F3C4
accent
#E60068
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B560FB

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

Preview Lab → · Contrast checker → · Palette generator →

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