#D564F7#D564F7

#D564F7 is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 69.7% C 0.227 H 317.7°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#D564F7
RGBrgb(213, 100, 247)
HSLhsl(286, 90%, 68%)
HSVhsv(286, 60%, 97%)
CMYKcmyk(13.8%, 59.5%, 0%, 3.1%)
CIE-LABlab(61.64, 65.69, -54.67)
CIE-LCHlch(61.64, 85.47, 320.23°)
OKLaboklab(69.74% 0.1679 -0.1528)
OKLCHoklch(69.74% 0.227 317.7)
XYZxyz(48.7839, 29.9778, 91.1942)
Luminance0.2998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D564F7 #86F764
analogous
#8B64F7 #D564F7 #F764D0
triadic
#D564F7 #F7D564 #64F7D5
tetradic
#D564F7 #F78B64 #86F764 #64D0F7
square
#D564F7 #F78B64 #86F764 #64D0F7
split-complementary
#D564F7 #D0F764 #64F78B
monochromatic
#A70BD6 #C52AF4 #D564F7 #E59EFA #F5D8FD

Accessibility & contrast

On white

3.00
#D564F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#D564F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D564F7
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D564F7#FFFFFF#000000##000000
##D564F71.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8EFC
Deuteranopia (green-blind)
#6998F3
Tritanopia (blue-blind)
#D47DA5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d564f7;
/* rgb */ color: rgb(213, 100, 247);
/* oklch */ color: oklch(69.7% 0.227 317.7);
Tailwind
colors: {
  custom: {
    50: '#e596fa',
    500: '#d564f7',
    950: '#000000',
  },
}
SCSS
$custom: #d564f7;
$custom-light: #e596fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d564f7",
  "rgb": {
    "r": 213,
    "g": 100,
    "b": 247
  },
  "hsl": {
    "h": 286.122,
    "s": 90.184,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69735,
    "c": 0.22698,
    "h": 317.7
  },
  "luminance": 0.29976
}

Semantic roles & 50–950 ramp

primary
#D564F7
secondary
#CFF2C5
accent
#E60035
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D564F7

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

Preview Lab → · Contrast checker → · Palette generator →

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