#B564EB#B564EB

#B564EB is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.3% C 0.203 H 309.6°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B564EB
RGBrgb(181, 100, 235)
HSLhsl(276, 77%, 66%)
HSVhsv(276, 57%, 92%)
CMYKcmyk(23%, 57.4%, 0%, 7.8%)
CIE-LABlab(57.01, 55.57, -55.60)
CIE-LCHlch(57.01, 78.61, 314.99°)
OKLaboklab(65.31% 0.1293 -0.1564)
OKLCHoklch(65.31% 0.203 309.6)
XYZxyz(38.6057, 24.9369, 81.3607)
Luminance0.2494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B564EB #9AEB64
analogous
#7164EB #B564EB #EB64DD
triadic
#B564EB #EBB564 #64EBB5
tetradic
#B564EB #EB7164 #9AEB64 #64DDEB
square
#B564EB #EB7164 #9AEB64 #64DDEB
split-complementary
#B564EB #DDEB64 #64EB71
monochromatic
#7B18BC #9B2EE4 #B564EB #CF9AF2 #E9D0F9

Accessibility & contrast

On white

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

On black

5.99
#B564EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B564EB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B564EB#FFFFFF#000000##000000
##B564EB1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EF
Deuteranopia (green-blind)
#558AE8
Tritanopia (blue-blind)
#AE7D9E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b564eb;
/* rgb */ color: rgb(181, 100, 235);
/* oklch */ color: oklch(65.3% 0.203 309.6);
Tailwind
colors: {
  custom: {
    50: '#ce94f2',
    500: '#b564eb',
    950: '#000000',
  },
}
SCSS
$custom: #b564eb;
$custom-light: #ce94f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b564eb",
  "rgb": {
    "r": 181,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 276,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65308,
    "c": 0.20293,
    "h": 309.6
  },
  "luminance": 0.24936
}

Semantic roles & 50–950 ramp

primary
#B564EB
secondary
#D1ECBF
accent
#D90C5E
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B564EB

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

Preview Lab → · Contrast checker → · Palette generator →

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