#D56FE5#D56FE5

#D56FE5 is a light, vivid purple. Relative luminance 0.312; OKLCH L 70.2% C 0.194 H 322.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#D56FE5
RGBrgb(213, 111, 229)
HSLhsl(292, 69%, 67%)
HSVhsv(292, 52%, 90%)
CMYKcmyk(7%, 51.5%, 0%, 10.2%)
CIE-LABlab(62.65, 57.10, -43.07)
CIE-LCHlch(62.65, 71.53, 322.98°)
OKLaboklab(70.19% 0.1527 -0.1191)
OKLCHoklch(70.19% 0.194 322)
XYZxyz(47.2663, 31.1743, 77.6411)
Luminance0.3117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56FE5 #7FE56F
analogous
#9A6FE5 #D56FE5 #E56FBA
triadic
#D56FE5 #E5D56F #6FE5D5
tetradic
#D56FE5 #E59A6F #7FE56F #6FBAE5
square
#D56FE5 #E59A6F #7FE56F #6FBAE5
split-complementary
#D56FE5 #BAE56F #6FE59A
monochromatic
#A421B8 #C63BDC #D56FE5 #E4A3EE #F3D7F8

Accessibility & contrast

On white

2.90
#D56FE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#D56FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56FE5
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56FE5#FFFFFF#000000##000000
##D56FE51.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C90E9
Deuteranopia (green-blind)
#7C9CE2
Tritanopia (blue-blind)
#D87FA0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d56fe5;
/* rgb */ color: rgb(213, 111, 229);
/* oklch */ color: oklch(70.2% 0.194 322.0);
Tailwind
colors: {
  custom: {
    50: '#e49ced',
    500: '#d56fe5',
    950: '#000000',
  },
}
SCSS
$custom: #d56fe5;
$custom-light: #e49ced;
$custom-dark: #000000;
JSON
{
  "hex": "#d56fe5",
  "rgb": {
    "r": 213,
    "g": 111,
    "b": 229
  },
  "hsl": {
    "h": 291.864,
    "s": 69.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70189,
    "c": 0.19371,
    "h": 322
  },
  "luminance": 0.31172
}

Semantic roles & 50–950 ramp

primary
#D56FE5
secondary
#CAEBC5
accent
#D1142E
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D56FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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