#B564F4#B564F4

#B564F4 is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 65.9% C 0.213 H 307.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B564F4
RGBrgb(181, 100, 244)
HSLhsl(274, 87%, 67%)
HSVhsv(274, 59%, 96%)
CMYKcmyk(25.8%, 59%, 0%, 4.3%)
CIE-LABlab(57.53, 57.56, -59.79)
CIE-LCHlch(57.53, 82.99, 313.91°)
OKLaboklab(65.85% 0.1294 -0.1686)
OKLCHoklch(65.85% 0.213 307.5)
XYZxyz(39.9390, 25.4703, 88.3827)
Luminance0.2547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B564F4 #A3F464
analogous
#6D64F4 #B564F4 #F464EB
triadic
#B564F4 #F4B564 #64F4B5
tetradic
#B564F4 #F46D64 #A3F464 #64EBF4
square
#B564F4 #F46D64 #A3F464 #64EBF4
split-complementary
#B564F4 #EBF464 #64F46D
monochromatic
#7B0FCF #9A2BF0 #B564F4 #D09DF8 #ECD6FC

Accessibility & contrast

On white

3.45
#B564F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#B564F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B564F4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B564F4#FFFFFF#000000##000000
##B564F41.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2687F9
Deuteranopia (green-blind)
#4C8BF1
Tritanopia (blue-blind)
#AB80A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b564f4;
/* rgb */ color: rgb(181, 100, 244);
/* oklch */ color: oklch(65.9% 0.213 307.5);
Tailwind
colors: {
  custom: {
    50: '#cf94f8',
    500: '#b564f4',
    950: '#000000',
  },
}
SCSS
$custom: #b564f4;
$custom-light: #cf94f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b564f4",
  "rgb": {
    "r": 181,
    "g": 100,
    "b": 244
  },
  "hsl": {
    "h": 273.75,
    "s": 86.747,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65852,
    "c": 0.21255,
    "h": 307.5
  },
  "luminance": 0.2547
}

Semantic roles & 50–950 ramp

primary
#B564F4
secondary
#D7F0C3
accent
#E30265
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B564F4

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

Preview Lab → · Contrast checker → · Palette generator →

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