#D56EF2#D56EF2

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

Color values

HEX#D56EF2
RGBrgb(213, 110, 242)
HSLhsl(287, 84%, 69%)
HSVhsv(287, 55%, 95%)
CMYKcmyk(12%, 54.5%, 0%, 5.1%)
CIE-LABlab(63.10, 60.07, -49.58)
CIE-LCHlch(63.10, 77.89, 320.47°)
OKLaboklab(70.72% 0.1553 -0.138)
OKLCHoklch(70.72% 0.208 318.4)
XYZxyz(49.0413, 31.7107, 87.5247)
Luminance0.3171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56EF2 #8BF26E
analogous
#936EF2 #D56EF2 #F26ECD
triadic
#D56EF2 #F2D56E #6EF2D5
tetradic
#D56EF2 #F2936E #8BF26E #6ECDF2
square
#D56EF2 #F2936E #8BF26E #6ECDF2
split-complementary
#D56EF2 #CDF26E #6EF293
monochromatic
#A913D3 #C536ED #D56EF2 #E5A6F7 #F6DEFC

Accessibility & contrast

On white

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

On black

7.34
#D56EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56EF2
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56EF2#FFFFFF#000000##000000
##D56EF21.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#749CEF
Tritanopia (blue-blind)
#D582A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d56ef2;
/* rgb */ color: rgb(213, 110, 242);
/* oklch */ color: oklch(70.7% 0.208 318.4);
Tailwind
colors: {
  custom: {
    50: '#e59cf7',
    500: '#d56ef2',
    950: '#000000',
  },
}
SCSS
$custom: #d56ef2;
$custom-light: #e59cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d56ef2",
  "rgb": {
    "r": 213,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 286.818,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70724,
    "c": 0.20775,
    "h": 318.4
  },
  "luminance": 0.31709
}

Semantic roles & 50–950 ramp

primary
#D56EF2
secondary
#D3F1CB
accent
#E00636
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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