#B564F9#B564F9

#B564F9 is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.2% C 0.218 H 306.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B564F9
RGBrgb(181, 100, 249)
HSLhsl(273, 93%, 68%)
HSVhsv(273, 60%, 98%)
CMYKcmyk(27.3%, 59.8%, 0%, 2.4%)
CIE-LABlab(57.83, 58.68, -62.09)
CIE-LCHlch(57.83, 85.43, 313.38°)
OKLaboklab(66.16% 0.1293 -0.1754)
OKLCHoklch(66.16% 0.218 306.4)
XYZxyz(40.7085, 25.7780, 92.4353)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B564F9 #A8F964
analogous
#6A64F9 #B564F9 #F964F3
triadic
#B564F9 #F9B564 #64F9B5
tetradic
#B564F9 #F96A64 #A8F964 #64F3F9
square
#B564F9 #F96A64 #A8F964 #64F3F9
split-complementary
#B564F9 #F3F964 #64F96A
monochromatic
#7A08DA #9929F7 #B564F9 #D19FFB #EDDAFE

Accessibility & contrast

On white

3.41
#B564F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#B564F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B564F9
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B564F9#FFFFFF#000000##000000
##B564F91.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A88FE
Deuteranopia (green-blind)
#478BF6
Tritanopia (blue-blind)
#AA82A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b564f9;
/* rgb */ color: rgb(181, 100, 249);
/* oklch */ color: oklch(66.2% 0.218 306.4);
Tailwind
colors: {
  custom: {
    50: '#cf94fc',
    500: '#b564f9',
    950: '#000000',
  },
}
SCSS
$custom: #b564f9;
$custom-light: #cf94fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b564f9",
  "rgb": {
    "r": 181,
    "g": 100,
    "b": 249
  },
  "hsl": {
    "h": 272.617,
    "s": 92.547,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66161,
    "c": 0.21791,
    "h": 306.4
  },
  "luminance": 0.25778
}

Semantic roles & 50–950 ramp

primary
#B564F9
secondary
#DAF3C6
accent
#E60069
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B564F9

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

Preview Lab → · Contrast checker → · Palette generator →

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