#D564F2#D564F2

#D564F2 is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.5% C 0.222 H 319.0°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#D564F2
RGBrgb(213, 100, 242)
HSLhsl(288, 85%, 67%)
HSVhsv(288, 59%, 95%)
CMYKcmyk(12%, 58.7%, 0%, 5.1%)
CIE-LABlab(61.37, 64.74, -52.32)
CIE-LCHlch(61.37, 83.24, 321.06°)
OKLaboklab(69.46% 0.1677 -0.1459)
OKLCHoklch(69.46% 0.222 319)
XYZxyz(48.0227, 29.6733, 87.1851)
Luminance0.2967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D564F2 #81F264
analogous
#8E64F2 #D564F2 #F264C8
triadic
#D564F2 #F2D564 #64F2D5
tetradic
#D564F2 #F28E64 #81F264 #64C8F2
square
#D564F2 #F28E64 #81F264 #64C8F2
split-complementary
#D564F2 #C8F264 #64F28E
monochromatic
#A511CB #C62CED #D564F2 #E49CF7 #F4D5FB

Accessibility & contrast

On white

3.03
#D564F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#D564F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D564F2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D564F2#FFFFFF#000000##000000
##D564F21.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#418DF6
Deuteranopia (green-blind)
#6D98EE
Tritanopia (blue-blind)
#D57BA2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d564f2;
/* rgb */ color: rgb(213, 100, 242);
/* oklch */ color: oklch(69.5% 0.222 319.0);
Tailwind
colors: {
  custom: {
    50: '#e596f7',
    500: '#d564f2',
    950: '#000000',
  },
}
SCSS
$custom: #d564f2;
$custom-light: #e596f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d564f2",
  "rgb": {
    "r": 213,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 287.746,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69458,
    "c": 0.2223,
    "h": 319
  },
  "luminance": 0.29671
}

Semantic roles & 50–950 ramp

primary
#D564F2
secondary
#CCEFC2
accent
#E10532
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D564F2

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

Preview Lab → · Contrast checker → · Palette generator →

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