#B560F6#B560F6

#B560F6 is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.4% C 0.220 H 307.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B560F6
RGBrgb(181, 96, 246)
HSLhsl(274, 89%, 67%)
HSVhsv(274, 61%, 96%)
CMYKcmyk(26.4%, 61%, 0%, 3.5%)
CIE-LABlab(56.92, 59.97, -61.87)
CIE-LCHlch(56.92, 86.16, 314.10°)
OKLaboklab(65.45% 0.1341 -0.1747)
OKLCHoklch(65.45% 0.22 307.5)
XYZxyz(39.8700, 24.8438, 89.8659)
Luminance0.2484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B560F6 #A1F660
analogous
#6A60F6 #B560F6 #F660EC
triadic
#B560F6 #F6B560 #60F6B5
tetradic
#B560F6 #F66A60 #A1F660 #60ECF6
square
#B560F6 #F66A60 #A1F660 #60ECF6
split-complementary
#B560F6 #ECF660 #60F66A
monochromatic
#7B0CD0 #9A26F3 #B560F6 #D09AF9 #EBD4FD

Accessibility & contrast

On white

3.52
#B560F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#B560F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B560F6
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B560F6#FFFFFF#000000##000000
##B560F61.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F85FB
Deuteranopia (green-blind)
#4589F3
Tritanopia (blue-blind)
#AB7EA2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b560f6;
/* rgb */ color: rgb(181, 96, 246);
/* oklch */ color: oklch(65.4% 0.220 307.5);
Tailwind
colors: {
  custom: {
    50: '#cf91fa',
    500: '#b560f6',
    950: '#000000',
  },
}
SCSS
$custom: #b560f6;
$custom-light: #cf91fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b560f6",
  "rgb": {
    "r": 181,
    "g": 96,
    "b": 246
  },
  "hsl": {
    "h": 274,
    "s": 89.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65448,
    "c": 0.22024,
    "h": 307.5
  },
  "luminance": 0.24843
}

Semantic roles & 50–950 ramp

primary
#B560F6
secondary
#D6F1C1
accent
#E60063
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B560F6

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

Preview Lab → · Contrast checker → · Palette generator →

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