#B560F5#B560F5

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

Color values

HEX#B560F5
RGBrgb(181, 96, 245)
HSLhsl(274, 88%, 67%)
HSVhsv(274, 61%, 96%)
CMYKcmyk(26.1%, 60.8%, 0%, 3.9%)
CIE-LABlab(56.86, 59.74, -61.42)
CIE-LCHlch(56.86, 85.68, 314.21°)
OKLaboklab(65.39% 0.1341 -0.1734)
OKLCHoklch(65.39% 0.219 307.7)
XYZxyz(39.7170, 24.7826, 89.0597)
Luminance0.2478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B560F5 #A0F560
analogous
#6B60F5 #B560F5 #F560EB
triadic
#B560F5 #F5B560 #60F5B5
tetradic
#B560F5 #F56B60 #A0F560 #60EBF5
square
#B560F5 #F56B60 #A0F560 #60EBF5
split-complementary
#B560F5 #EBF560 #60F56B
monochromatic
#7B0DCE #9A26F1 #B560F5 #D09AF9 #EBD3FC

Accessibility & contrast

On white

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

On black

5.96
#B560F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B560F5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B560F5#FFFFFF#000000##000000
##B560F51.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1385FA
Deuteranopia (green-blind)
#4789F2
Tritanopia (blue-blind)
#AB7EA2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b560f5;
/* rgb */ color: rgb(181, 96, 245);
/* oklch */ color: oklch(65.4% 0.219 307.7);
Tailwind
colors: {
  custom: {
    50: '#cf91f9',
    500: '#b560f5',
    950: '#000000',
  },
}
SCSS
$custom: #b560f5;
$custom-light: #cf91f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b560f5",
  "rgb": {
    "r": 181,
    "g": 96,
    "b": 245
  },
  "hsl": {
    "h": 274.228,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65385,
    "c": 0.21918,
    "h": 307.7
  },
  "luminance": 0.24782
}

Semantic roles & 50–950 ramp

primary
#B560F5
secondary
#D5F0C1
accent
#E50163
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B560F5

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

Preview Lab → · Contrast checker → · Palette generator →

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