#B560F4#B560F4

#B560F4 is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.3% C 0.218 H 307.9°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B560F4
RGBrgb(181, 96, 244)
HSLhsl(274, 87%, 67%)
HSVhsv(274, 61%, 96%)
CMYKcmyk(25.8%, 60.7%, 0%, 4.3%)
CIE-LABlab(56.80, 59.52, -60.96)
CIE-LCHlch(56.80, 85.20, 314.32°)
OKLaboklab(65.32% 0.1341 -0.172)
OKLCHoklch(65.32% 0.218 307.9)
XYZxyz(39.5647, 24.7217, 88.2579)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B560F4 #9FF460
analogous
#6B60F4 #B560F4 #F460E9
triadic
#B560F4 #F4B560 #60F4B5
tetradic
#B560F4 #F46B60 #9FF460 #60E9F4
square
#B560F4 #F46B60 #9FF460 #60E9F4
split-complementary
#B560F4 #E9F460 #60F46B
monochromatic
#7B0ECC #9A27F0 #B560F4 #D099F8 #EAD2FC

Accessibility & contrast

On white

3.53
#B560F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#B560F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B560F4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B560F4#FFFFFF#000000##000000
##B560F41.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1685F9
Deuteranopia (green-blind)
#4889F1
Tritanopia (blue-blind)
#AB7DA1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b560f4;
/* rgb */ color: rgb(181, 96, 244);
/* oklch */ color: oklch(65.3% 0.218 307.9);
Tailwind
colors: {
  custom: {
    50: '#cf91f8',
    500: '#b560f4',
    950: '#000000',
  },
}
SCSS
$custom: #b560f4;
$custom-light: #cf91f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b560f4",
  "rgb": {
    "r": 181,
    "g": 96,
    "b": 244
  },
  "hsl": {
    "h": 274.459,
    "s": 87.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65323,
    "c": 0.21814,
    "h": 307.9
  },
  "luminance": 0.24721
}

Semantic roles & 50–950 ramp

primary
#B560F4
secondary
#D4F0C0
accent
#E40262
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B560F4

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

Preview Lab → · Contrast checker → · Palette generator →

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