#B560EF#B560EF

#B560EF is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 65.0% C 0.213 H 309.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B560EF
RGBrgb(181, 96, 239)
HSLhsl(276, 82%, 66%)
HSVhsv(276, 60%, 94%)
CMYKcmyk(24.3%, 59.8%, 0%, 6.3%)
CIE-LABlab(56.51, 58.43, -58.64)
CIE-LCHlch(56.51, 82.78, 314.89°)
OKLaboklab(65.01% 0.1342 -0.1653)
OKLCHoklch(65.01% 0.213 309.1)
XYZxyz(38.8158, 24.4221, 84.3138)
Luminance0.2442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B560EF #9AEF60
analogous
#6D60EF #B560EF #EF60E2
triadic
#B560EF #EFB560 #60EFB5
tetradic
#B560EF #EF6D60 #9AEF60 #60E2EF
square
#B560EF #EF6D60 #9AEF60 #60E2EF
split-complementary
#B560EF #E2EF60 #60EF6D
monochromatic
#7B13C1 #9B28E9 #B560EF #CF98F5 #E9CFFA

Accessibility & contrast

On white

3.57
#B560EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#B560EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B560EF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B560EF#FFFFFF#000000##000000
##B560EF1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2384F4
Deuteranopia (green-blind)
#4D89EC
Tritanopia (blue-blind)
#AD7C9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b560ef;
/* rgb */ color: rgb(181, 96, 239);
/* oklch */ color: oklch(65.0% 0.213 309.1);
Tailwind
colors: {
  custom: {
    50: '#cf91f5',
    500: '#b560ef',
    950: '#000000',
  },
}
SCSS
$custom: #b560ef;
$custom-light: #cf91f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b560ef",
  "rgb": {
    "r": 181,
    "g": 96,
    "b": 239
  },
  "hsl": {
    "h": 275.664,
    "s": 81.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65013,
    "c": 0.21289,
    "h": 309.1
  },
  "luminance": 0.24421
}

Semantic roles & 50–950 ramp

primary
#B560EF
secondary
#D1EDBE
accent
#DE075E
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B560EF

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

Preview Lab → · Contrast checker → · Palette generator →

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