#B564CD#B564CD

#B564CD is a light, vivid purple. Relative luminance 0.233; OKLCH L 63.6% C 0.171 H 318.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B564CD
RGBrgb(181, 100, 205)
HSLhsl(286, 51%, 60%)
HSVhsv(286, 51%, 80%)
CMYKcmyk(11.7%, 51.2%, 0%, 19.6%)
CIE-LABlab(55.43, 49.24, -41.21)
CIE-LCHlch(55.43, 64.21, 320.08°)
OKLaboklab(63.63% 0.1274 -0.1144)
OKLCHoklch(63.63% 0.171 318.1)
XYZxyz(34.6312, 23.3471, 60.4280)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B564CD #7CCD64
analogous
#8164CD #B564CD #CD64B0
triadic
#B564CD #CDB564 #64CDB5
tetradic
#B564CD #CD8164 #7CCD64 #64B0CD
square
#B564CD #CD8164 #7CCD64 #64B0CD
split-complementary
#B564CD #B0CD64 #64CD81
monochromatic
#752D8A #9C3BB8 #B564CD #CB92DC #E1C1EB

Accessibility & contrast

On white

3.70
#B564CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#B564CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B564CD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B564CD#FFFFFF#000000##000000
##B564CD1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FD1
Deuteranopia (green-blind)
#6987CA
Tritanopia (blue-blind)
#B5738F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b564cd;
/* rgb */ color: rgb(181, 100, 205);
/* oklch */ color: oklch(63.6% 0.171 318.1);
Tailwind
colors: {
  custom: {
    50: '#cd93dc',
    500: '#b564cd',
    950: '#000000',
  },
}
SCSS
$custom: #b564cd;
$custom-light: #cd93dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b564cd",
  "rgb": {
    "r": 181,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 286.286,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63629,
    "c": 0.17124,
    "h": 318.1
  },
  "luminance": 0.23346
}

Semantic roles & 50–950 ramp

primary
#B564CD
secondary
#BBDBB2
accent
#DB4D6D
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B564CD

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

Preview Lab → · Contrast checker → · Palette generator →

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