#B564EA#B564EA

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

Color values

HEX#B564EA
RGBrgb(181, 100, 234)
HSLhsl(276, 76%, 65%)
HSVhsv(276, 57%, 92%)
CMYKcmyk(22.6%, 57.3%, 0%, 8.2%)
CIE-LABlab(56.96, 55.36, -55.13)
CIE-LCHlch(56.96, 78.13, 315.12°)
OKLaboklab(65.25% 0.1293 -0.155)
OKLCHoklch(65.25% 0.202 309.8)
XYZxyz(38.4617, 24.8793, 80.6020)
Luminance0.2488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B564EA #99EA64
analogous
#7264EA #B564EA #EA64DC
triadic
#B564EA #EAB564 #64EAB5
tetradic
#B564EA #EA7264 #99EA64 #64DCEA
square
#B564EA #EA7264 #99EA64 #64DCEA
split-complementary
#B564EA #DCEA64 #64EA72
monochromatic
#7B19BA #9B2EE3 #B564EA #CF9AF1 #E8D0F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B564EA#FFFFFF#000000##000000
##B564EA1.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)
#3585EE
Deuteranopia (green-blind)
#558AE7
Tritanopia (blue-blind)
#AE7D9E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b564ea;
/* rgb */ color: rgb(181, 100, 234);
/* oklch */ color: oklch(65.2% 0.202 309.8);
Tailwind
colors: {
  custom: {
    50: '#ce94f1',
    500: '#b564ea',
    950: '#000000',
  },
}
SCSS
$custom: #b564ea;
$custom-light: #ce94f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b564ea",
  "rgb": {
    "r": 181,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 276.269,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65249,
    "c": 0.20186,
    "h": 309.8
  },
  "luminance": 0.24879
}

Semantic roles & 50–950 ramp

primary
#B564EA
secondary
#D0EBBE
accent
#D80D5E
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B564EA

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

Preview Lab → · Contrast checker → · Palette generator →

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