#B560F7#B560F7

#B560F7 is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.5% C 0.221 H 307.3°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B560F7
RGBrgb(181, 96, 247)
HSLhsl(274, 90%, 67%)
HSVhsv(274, 61%, 97%)
CMYKcmyk(26.7%, 61.1%, 0%, 3.1%)
CIE-LABlab(56.98, 60.19, -62.33)
CIE-LCHlch(56.98, 86.65, 314.00°)
OKLaboklab(65.51% 0.134 -0.1761)
OKLCHoklch(65.51% 0.221 307.3)
XYZxyz(40.0239, 24.9054, 90.6764)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B560F7 #A2F760
analogous
#6A60F7 #B560F7 #F760ED
triadic
#B560F7 #F7B560 #60F7B5
tetradic
#B560F7 #F76A60 #A2F760 #60EDF7
square
#B560F7 #F76A60 #A2F760 #60EDF7
split-complementary
#B560F7 #EDF760 #60F76A
monochromatic
#7B0BD2 #9A26F4 #B560F7 #D09AFA #EBD5FD

Accessibility & contrast

On white

3.51
#B560F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#B560F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B560F7
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B560F7#FFFFFF#000000##000000
##B560F71.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A86FC
Deuteranopia (green-blind)
#448AF4
Tritanopia (blue-blind)
#AB7EA3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b560f7;
/* rgb */ color: rgb(181, 96, 247);
/* oklch */ color: oklch(65.5% 0.221 307.3);
Tailwind
colors: {
  custom: {
    50: '#cf91fb',
    500: '#b560f7',
    950: '#000000',
  },
}
SCSS
$custom: #b560f7;
$custom-light: #cf91fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b560f7",
  "rgb": {
    "r": 181,
    "g": 96,
    "b": 247
  },
  "hsl": {
    "h": 273.775,
    "s": 90.419,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65511,
    "c": 0.22129,
    "h": 307.3
  },
  "luminance": 0.24905
}

Semantic roles & 50–950 ramp

primary
#B560F7
secondary
#D6F1C2
accent
#E60064
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B560F7

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

Preview Lab → · Contrast checker → · Palette generator →

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