#D56BE7#D56BE7

#D56BE7 is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 69.8% C 0.202 H 321.6°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#D56BE7
RGBrgb(213, 107, 231)
HSLhsl(291, 72%, 66%)
HSVhsv(291, 54%, 91%)
CMYKcmyk(7.8%, 53.7%, 0%, 9.4%)
CIE-LABlab(62.03, 59.41, -45.17)
CIE-LCHlch(62.03, 74.63, 322.75°)
OKLaboklab(69.76% 0.1582 -0.1252)
OKLCHoklch(69.76% 0.202 321.6)
XYZxyz(47.1205, 30.4332, 78.9780)
Luminance0.3043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56BE7 #7DE76B
analogous
#976BE7 #D56BE7 #E76BBB
triadic
#D56BE7 #E7D56B #6BE7D5
tetradic
#D56BE7 #E7976B #7DE76B #6BBBE7
square
#D56BE7 #E7976B #7DE76B #6BBBE7
split-complementary
#D56BE7 #BBE76B #6BE797
monochromatic
#A31EBA #C636DE #D56BE7 #E4A0F0 #F3D4F8

Accessibility & contrast

On white

2.96
#D56BE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#D56BE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56BE7
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56BE7#FFFFFF#000000##000000
##D56BE71.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#568EEB
Deuteranopia (green-blind)
#789AE4
Tritanopia (blue-blind)
#D77C9F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d56be7;
/* rgb */ color: rgb(213, 107, 231);
/* oklch */ color: oklch(69.8% 0.202 321.6);
Tailwind
colors: {
  custom: {
    50: '#e49aef',
    500: '#d56be7',
    950: '#000000',
  },
}
SCSS
$custom: #d56be7;
$custom-light: #e49aef;
$custom-dark: #000000;
JSON
{
  "hex": "#d56be7",
  "rgb": {
    "r": 213,
    "g": 107,
    "b": 231
  },
  "hsl": {
    "h": 291.29,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69758,
    "c": 0.20175,
    "h": 321.6
  },
  "luminance": 0.30431
}

Semantic roles & 50–950 ramp

primary
#D56BE7
secondary
#C9EBC3
accent
#D4112E
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D56BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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