#B564F8#B564F8

#B564F8 is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.1% C 0.217 H 306.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B564F8
RGBrgb(181, 100, 248)
HSLhsl(273, 91%, 68%)
HSVhsv(273, 60%, 97%)
CMYKcmyk(27%, 59.7%, 0%, 2.7%)
CIE-LABlab(57.77, 58.45, -61.63)
CIE-LCHlch(57.77, 84.94, 313.49°)
OKLaboklab(66.1% 0.1293 -0.174)
OKLCHoklch(66.1% 0.217 306.6)
XYZxyz(40.5529, 25.7158, 91.6160)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B564F8 #A7F864
analogous
#6B64F8 #B564F8 #F864F1
triadic
#B564F8 #F8B564 #64F8B5
tetradic
#B564F8 #F86B64 #A7F864 #64F1F8
square
#B564F8 #F86B64 #A7F864 #64F1F8
split-complementary
#B564F8 #F1F864 #64F86B
monochromatic
#7B0AD8 #9929F5 #B564F8 #D19FFB #EDD9FD

Accessibility & contrast

On white

3.42
#B564F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#B564F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B564F8
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B564F8#FFFFFF#000000##000000
##B564F81.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D88FD
Deuteranopia (green-blind)
#488BF5
Tritanopia (blue-blind)
#AA81A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b564f8;
/* rgb */ color: rgb(181, 100, 248);
/* oklch */ color: oklch(66.1% 0.217 306.6);
Tailwind
colors: {
  custom: {
    50: '#cf94fb',
    500: '#b564f8',
    950: '#000000',
  },
}
SCSS
$custom: #b564f8;
$custom-light: #cf94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b564f8",
  "rgb": {
    "r": 181,
    "g": 100,
    "b": 248
  },
  "hsl": {
    "h": 272.838,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66099,
    "c": 0.21683,
    "h": 306.6
  },
  "luminance": 0.25715
}

Semantic roles & 50–950 ramp

primary
#B564F8
secondary
#DAF2C5
accent
#E60068
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B564F8

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

Preview Lab → · Contrast checker → · Palette generator →

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