#D56FEA#D56FEA

#D56FEA is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.4% C 0.199 H 320.6°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#D56FEA
RGBrgb(213, 111, 234)
HSLhsl(290, 75%, 68%)
HSVhsv(290, 53%, 92%)
CMYKcmyk(9%, 52.6%, 0%, 8.2%)
CIE-LABlab(62.89, 58.05, -45.47)
CIE-LCHlch(62.89, 73.74, 321.93°)
OKLaboklab(70.44% 0.1533 -0.1261)
OKLCHoklch(70.44% 0.199 320.6)
XYZxyz(47.9745, 31.4576, 81.3708)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56FEA #84EA6F
analogous
#976FEA #D56FEA #EA6FC1
triadic
#D56FEA #EAD56F #6FEAD5
tetradic
#D56FEA #EA976F #84EA6F #6FC1EA
square
#D56FEA #EA976F #84EA6F #6FC1EA
split-complementary
#D56FEA #C1EA6F #6FEA97
monochromatic
#A61CC2 #C53AE2 #D56FEA #E5A4F2 #F4DAFA

Accessibility & contrast

On white

2.88
#D56FEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#D56FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56FEA
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56FEA#FFFFFF#000000##000000
##D56FEA1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EE
Deuteranopia (green-blind)
#7A9CE7
Tritanopia (blue-blind)
#D780A2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d56fea;
/* rgb */ color: rgb(213, 111, 234);
/* oklch */ color: oklch(70.4% 0.199 320.6);
Tailwind
colors: {
  custom: {
    50: '#e49cf1',
    500: '#d56fea',
    950: '#000000',
  },
}
SCSS
$custom: #d56fea;
$custom-light: #e49cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d56fea",
  "rgb": {
    "r": 213,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 289.756,
    "s": 74.545,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70441,
    "c": 0.1985,
    "h": 320.6
  },
  "luminance": 0.31456
}

Semantic roles & 50–950 ramp

primary
#D56FEA
secondary
#CEEDC7
accent
#D70F31
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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