#B564EF#B564EF

#B564EF is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.5% C 0.207 H 308.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B564EF
RGBrgb(181, 100, 239)
HSLhsl(275, 81%, 66%)
HSVhsv(275, 58%, 94%)
CMYKcmyk(24.3%, 58.2%, 0%, 6.3%)
CIE-LABlab(57.24, 56.45, -57.47)
CIE-LCHlch(57.24, 80.56, 314.49°)
OKLaboklab(65.55% 0.1294 -0.1618)
OKLCHoklch(65.55% 0.207 308.6)
XYZxyz(39.1901, 25.1707, 84.4385)
Luminance0.2517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B564EF #9EEF64
analogous
#7064EF #B564EF #EF64E4
triadic
#B564EF #EFB564 #64EFB5
tetradic
#B564EF #EF7064 #9EEF64 #64E4EF
square
#B564EF #EF7064 #9EEF64 #64E4EF
split-complementary
#B564EF #E4EF64 #64EF70
monochromatic
#7B14C4 #9B2DE9 #B564EF #CF9BF5 #EAD3FA

Accessibility & contrast

On white

3.48
#B564EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#B564EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B564EF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B564EF#FFFFFF#000000##000000
##B564EF1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E86F3
Deuteranopia (green-blind)
#518AEC
Tritanopia (blue-blind)
#AD7EA0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b564ef;
/* rgb */ color: rgb(181, 100, 239);
/* oklch */ color: oklch(65.5% 0.207 308.6);
Tailwind
colors: {
  custom: {
    50: '#cf94f5',
    500: '#b564ef',
    950: '#000000',
  },
}
SCSS
$custom: #b564ef;
$custom-light: #cf94f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b564ef",
  "rgb": {
    "r": 181,
    "g": 100,
    "b": 239
  },
  "hsl": {
    "h": 274.964,
    "s": 81.287,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65548,
    "c": 0.20721,
    "h": 308.6
  },
  "luminance": 0.2517
}

Semantic roles & 50–950 ramp

primary
#B564EF
secondary
#D4EEC1
accent
#DE0861
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B564EF

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

Preview Lab → · Contrast checker → · Palette generator →

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