#D56BEB#D56BEB

#D56BEB is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.0% C 0.206 H 320.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#D56BEB
RGBrgb(213, 107, 235)
HSLhsl(290, 76%, 67%)
HSVhsv(290, 54%, 92%)
CMYKcmyk(9.4%, 54.5%, 0%, 7.8%)
CIE-LABlab(62.22, 60.16, -47.09)
CIE-LCHlch(62.22, 76.40, 321.95°)
OKLaboklab(69.96% 0.1586 -0.1308)
OKLCHoklch(69.96% 0.206 320.5)
XYZxyz(47.6919, 30.6618, 81.9873)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56BEB #81EB6B
analogous
#956BEB #D56BEB #EB6BC1
triadic
#D56BEB #EBD56B #6BEBD5
tetradic
#D56BEB #EB956B #81EB6B #6BC1EB
square
#D56BEB #EB956B #81EB6B #6BC1EB
split-complementary
#D56BEB #C1EB6B #6BEB95
monochromatic
#A51AC1 #C635E4 #D56BEB #E4A1F2 #F4D7FA

Accessibility & contrast

On white

2.94
#D56BEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#D56BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56BEB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56BEB#FFFFFF#000000##000000
##D56BEB1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEF
Deuteranopia (green-blind)
#769AE8
Tritanopia (blue-blind)
#D67EA1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d56beb;
/* rgb */ color: rgb(213, 107, 235);
/* oklch */ color: oklch(70.0% 0.206 320.5);
Tailwind
colors: {
  custom: {
    50: '#e59af2',
    500: '#d56beb',
    950: '#000000',
  },
}
SCSS
$custom: #d56beb;
$custom-light: #e59af2;
$custom-dark: #000000;
JSON
{
  "hex": "#d56beb",
  "rgb": {
    "r": 213,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 289.688,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69964,
    "c": 0.20553,
    "h": 320.5
  },
  "luminance": 0.3066
}

Semantic roles & 50–950 ramp

primary
#D56BEB
secondary
#CCEDC5
accent
#D80D30
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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