#D56BE3#D56BE3

#D56BE3 is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.6% C 0.198 H 322.8°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#D56BE3
RGBrgb(213, 107, 227)
HSLhsl(293, 68%, 65%)
HSVhsv(293, 53%, 89%)
CMYKcmyk(6.2%, 52.9%, 0%, 11%)
CIE-LABlab(61.83, 58.66, -43.24)
CIE-LCHlch(61.83, 72.88, 323.60°)
OKLaboklab(69.56% 0.1578 -0.1196)
OKLCHoklch(69.56% 0.198 322.8)
XYZxyz(46.5620, 30.2098, 76.0366)
Luminance0.3021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56BE3 #79E36B
analogous
#996BE3 #D56BE3 #E36BB5
triadic
#D56BE3 #E3D56B #6BE3D5
tetradic
#D56BE3 #E3996B #79E36B #6BB5E3
square
#D56BE3 #E3996B #79E36B #6BB5E3
split-complementary
#D56BE3 #B5E36B #6BE399
monochromatic
#A122B2 #C638D9 #D56BE3 #E49EED #F2D2F6

Accessibility & contrast

On white

2.98
#D56BE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#D56BE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56BE3
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56BE3#FFFFFF#000000##000000
##D56BE31.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#588DE7
Deuteranopia (green-blind)
#7A9AE0
Tritanopia (blue-blind)
#D87B9D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d56be3;
/* rgb */ color: rgb(213, 107, 227);
/* oklch */ color: oklch(69.6% 0.198 322.8);
Tailwind
colors: {
  custom: {
    50: '#e49aec',
    500: '#d56be3',
    950: '#000000',
  },
}
SCSS
$custom: #d56be3;
$custom-light: #e49aec;
$custom-dark: #000000;
JSON
{
  "hex": "#d56be3",
  "rgb": {
    "r": 213,
    "g": 107,
    "b": 227
  },
  "hsl": {
    "h": 293,
    "s": 68.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69555,
    "c": 0.19801,
    "h": 322.8
  },
  "luminance": 0.30208
}

Semantic roles & 50–950 ramp

primary
#D56BE3
secondary
#C5E9C1
accent
#D0152B
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D56BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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