#D56FEF#D56FEF

#D56FEF is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 70.7% C 0.203 H 319.1°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#D56FEF
RGBrgb(213, 111, 239)
HSLhsl(288, 80%, 69%)
HSVhsv(288, 54%, 94%)
CMYKcmyk(10.9%, 53.6%, 0%, 6.3%)
CIE-LABlab(63.13, 59.01, -47.87)
CIE-LCHlch(63.13, 75.98, 320.95°)
OKLaboklab(70.7% 0.1538 -0.133)
OKLCHoklch(70.7% 0.203 319.1)
XYZxyz(48.7030, 31.7489, 85.2073)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56FEF #89EF6F
analogous
#956FEF #D56FEF #EF6FC9
triadic
#D56FEF #EFD56F #6FEFD5
tetradic
#D56FEF #EF956F #89EF6F #6FC9EF
square
#D56FEF #EF956F #89EF6F #6FC9EF
split-complementary
#D56FEF #C9EF6F #6FEF95
monochromatic
#A817CD #C538E9 #D56FEF #E5A6F5 #F5DDFB

Accessibility & contrast

On white

2.86
#D56FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#D56FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56FEF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56FEF#FFFFFF#000000##000000
##D56FEF1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5592F3
Deuteranopia (green-blind)
#779CEC
Tritanopia (blue-blind)
#D582A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d56fef;
/* rgb */ color: rgb(213, 111, 239);
/* oklch */ color: oklch(70.7% 0.203 319.1);
Tailwind
colors: {
  custom: {
    50: '#e49cf5',
    500: '#d56fef',
    950: '#000000',
  },
}
SCSS
$custom: #d56fef;
$custom-light: #e49cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#d56fef",
  "rgb": {
    "r": 213,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 287.813,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70699,
    "c": 0.20332,
    "h": 319.1
  },
  "luminance": 0.31747
}

Semantic roles & 50–950 ramp

primary
#D56FEF
secondary
#D2F0CA
accent
#DC0934
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160F17
muted
#847E85

Preview Lab

Preview with #D56FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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