#B564DB#B564DB

#B564DB is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.4% C 0.186 H 313.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B564DB
RGBrgb(181, 100, 219)
HSLhsl(281, 62%, 63%)
HSVhsv(281, 54%, 86%)
CMYKcmyk(17.4%, 54.3%, 0%, 14.1%)
CIE-LABlab(56.14, 52.13, -48.01)
CIE-LCHlch(56.14, 70.87, 317.36°)
OKLaboklab(64.39% 0.1286 -0.1342)
OKLCHoklch(64.39% 0.186 313.8)
XYZxyz(36.3973, 24.0536, 69.7296)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B564DB #8ADB64
analogous
#7964DB #B564DB #DB64C6
triadic
#B564DB #DBB564 #64DBB5
tetradic
#B564DB #DB7964 #8ADB64 #64C6DB
square
#B564DB #DB7964 #8ADB64 #64C6DB
split-complementary
#B564DB #C6DB64 #64DB79
monochromatic
#7825A0 #9D32CF #B564DB #CD96E7 #E4C7F2

Accessibility & contrast

On white

3.61
#B564DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#B564DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B564DB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B564DB#FFFFFF#000000##000000
##B564DB1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4582DF
Deuteranopia (green-blind)
#6089D8
Tritanopia (blue-blind)
#B27896
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b564db;
/* rgb */ color: rgb(181, 100, 219);
/* oklch */ color: oklch(64.4% 0.186 313.8);
Tailwind
colors: {
  custom: {
    50: '#ce93e7',
    500: '#b564db',
    950: '#000000',
  },
}
SCSS
$custom: #b564db;
$custom-light: #ce93e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b564db",
  "rgb": {
    "r": 181,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 280.84,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64387,
    "c": 0.1859,
    "h": 313.8
  },
  "luminance": 0.24053
}

Semantic roles & 50–950 ramp

primary
#B564DB
secondary
#C6E3B8
accent
#CA1B53
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B564DB

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

Preview Lab → · Contrast checker → · Palette generator →

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