#B564F6#B564F6

#B564F6 is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 66.0% C 0.215 H 307.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B564F6
RGBrgb(181, 100, 246)
HSLhsl(273, 89%, 68%)
HSVhsv(273, 59%, 96%)
CMYKcmyk(26.4%, 59.3%, 0%, 3.5%)
CIE-LABlab(57.65, 58.01, -60.71)
CIE-LCHlch(57.65, 83.97, 313.70°)
OKLaboklab(65.97% 0.1294 -0.1713)
OKLCHoklch(65.97% 0.215 307.1)
XYZxyz(40.2443, 25.5924, 89.9906)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B564F6 #A5F664
analogous
#6C64F6 #B564F6 #F664EE
triadic
#B564F6 #F6B564 #64F6B5
tetradic
#B564F6 #F66C64 #A5F664 #64EEF6
square
#B564F6 #F66C64 #A5F664 #64EEF6
split-complementary
#B564F6 #EEF664 #64F66C
monochromatic
#7B0CD3 #992AF3 #B564F6 #D19EF9 #ECD8FD

Accessibility & contrast

On white

3.43
#B564F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#B564F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B564F6
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B564F6#FFFFFF#000000##000000
##B564F61.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2288FB
Deuteranopia (green-blind)
#4A8BF3
Tritanopia (blue-blind)
#AB81A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b564f6;
/* rgb */ color: rgb(181, 100, 246);
/* oklch */ color: oklch(66.0% 0.215 307.1);
Tailwind
colors: {
  custom: {
    50: '#cf94fa',
    500: '#b564f6',
    950: '#000000',
  },
}
SCSS
$custom: #b564f6;
$custom-light: #cf94fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b564f6",
  "rgb": {
    "r": 181,
    "g": 100,
    "b": 246
  },
  "hsl": {
    "h": 273.288,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65975,
    "c": 0.21469,
    "h": 307.1
  },
  "luminance": 0.25592
}

Semantic roles & 50–950 ramp

primary
#B564F6
secondary
#D8F1C4
accent
#E60066
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B564F6

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

Preview Lab → · Contrast checker → · Palette generator →

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