#B560F2#B560F2

#B560F2 is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.2% C 0.216 H 308.4°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B560F2
RGBrgb(181, 96, 242)
HSLhsl(275, 85%, 66%)
HSVhsv(275, 60%, 95%)
CMYKcmyk(25.2%, 60.3%, 0%, 5.1%)
CIE-LABlab(56.68, 59.08, -60.03)
CIE-LCHlch(56.68, 84.23, 314.54°)
OKLaboklab(65.2% 0.1342 -0.1693)
OKLCHoklch(65.2% 0.216 308.4)
XYZxyz(39.2627, 24.6009, 86.6673)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B560F2 #9DF260
analogous
#6C60F2 #B560F2 #F260E6
triadic
#B560F2 #F2B560 #60F2B5
tetradic
#B560F2 #F26C60 #9DF260 #60E6F2
square
#B560F2 #F26C60 #9DF260 #60E6F2
split-complementary
#B560F2 #E6F260 #60F26C
monochromatic
#7B10C7 #9B27ED #B560F2 #CF99F7 #EAD1FB

Accessibility & contrast

On white

3.55
#B560F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#B560F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B560F2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B560F2#FFFFFF#000000##000000
##B560F21.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C85F7
Deuteranopia (green-blind)
#4A89EF
Tritanopia (blue-blind)
#AC7DA0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b560f2;
/* rgb */ color: rgb(181, 96, 242);
/* oklch */ color: oklch(65.2% 0.216 308.4);
Tailwind
colors: {
  custom: {
    50: '#cf91f7',
    500: '#b560f2',
    950: '#000000',
  },
}
SCSS
$custom: #b560f2;
$custom-light: #cf91f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b560f2",
  "rgb": {
    "r": 181,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 274.932,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65198,
    "c": 0.21604,
    "h": 308.4
  },
  "luminance": 0.246
}

Semantic roles & 50–950 ramp

primary
#B560F2
secondary
#D3EFBF
accent
#E10461
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B560F2

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

Preview Lab → · Contrast checker → · Palette generator →

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