#B564FB#B564FB

#B564FB is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.3% C 0.220 H 306.0°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B564FB
RGBrgb(181, 100, 251)
HSLhsl(272, 95%, 69%)
HSVhsv(272, 60%, 98%)
CMYKcmyk(27.9%, 60.2%, 0%, 1.6%)
CIE-LABlab(57.95, 59.13, -63.00)
CIE-LCHlch(57.95, 86.40, 313.18°)
OKLaboklab(66.29% 0.1293 -0.1781)
OKLCHoklch(66.29% 0.22 306)
XYZxyz(41.0221, 25.9035, 94.0869)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B564FB #AAFB64
analogous
#6A64FB #B564FB #FB64F6
triadic
#B564FB #FBB564 #64FBB5
tetradic
#B564FB #FB6A64 #AAFB64 #64F6FB
square
#B564FB #FB6A64 #AAFB64 #64F6FB
split-complementary
#B564FB #F6FB64 #64FB6A
monochromatic
#7A06DF #9928F9 #B564FB #D1A0FD #EEDBFE

Accessibility & contrast

On white

3.40
#B564FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#B564FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B564FB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B564FB#FFFFFF#000000##000000
##B564FB1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1489FF
Deuteranopia (green-blind)
#458CF8
Tritanopia (blue-blind)
#A982A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b564fb;
/* rgb */ color: rgb(181, 100, 251);
/* oklch */ color: oklch(66.3% 0.220 306.0);
Tailwind
colors: {
  custom: {
    50: '#cf94fd',
    500: '#b564fb',
    950: '#000000',
  },
}
SCSS
$custom: #b564fb;
$custom-light: #cf94fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b564fb",
  "rgb": {
    "r": 181,
    "g": 100,
    "b": 251
  },
  "hsl": {
    "h": 272.185,
    "s": 94.969,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66286,
    "c": 0.22004,
    "h": 306
  },
  "luminance": 0.25903
}

Semantic roles & 50–950 ramp

primary
#B564FB
secondary
#DCF4C7
accent
#E6006A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B564FB

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

Preview Lab → · Contrast checker → · Palette generator →

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