#B564F5#B564F5

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

Color values

HEX#B564F5
RGBrgb(181, 100, 245)
HSLhsl(274, 88%, 68%)
HSVhsv(274, 59%, 96%)
CMYKcmyk(26.1%, 59.2%, 0%, 3.9%)
CIE-LABlab(57.59, 57.78, -60.25)
CIE-LCHlch(57.59, 83.48, 313.80°)
OKLaboklab(65.91% 0.1294 -0.17)
OKLCHoklch(65.91% 0.214 307.3)
XYZxyz(40.0913, 25.5311, 89.1845)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B564F5 #A4F564
analogous
#6C64F5 #B564F5 #F564ED
triadic
#B564F5 #F5B564 #64F5B5
tetradic
#B564F5 #F56C64 #A4F564 #64EDF5
square
#B564F5 #F56C64 #A4F564 #64EDF5
split-complementary
#B564F5 #EDF564 #64F56C
monochromatic
#7B0DD1 #9A2BF1 #B564F5 #D09DF9 #ECD7FC

Accessibility & contrast

On white

3.44
#B564F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#B564F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B564F5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B564F5#FFFFFF#000000##000000
##B564F51.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2487FA
Deuteranopia (green-blind)
#4B8BF2
Tritanopia (blue-blind)
#AB80A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b564f5;
/* rgb */ color: rgb(181, 100, 245);
/* oklch */ color: oklch(65.9% 0.214 307.3);
Tailwind
colors: {
  custom: {
    50: '#cf94f9',
    500: '#b564f5',
    950: '#000000',
  },
}
SCSS
$custom: #b564f5;
$custom-light: #cf94f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b564f5",
  "rgb": {
    "r": 181,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 273.517,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65913,
    "c": 0.21362,
    "h": 307.3
  },
  "luminance": 0.25531
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B564F5

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

Preview Lab → · Contrast checker → · Palette generator →

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