#D56FF2#D56FF2

#D56FF2 is a light, highly saturated purple. Relative luminance 0.319; OKLCH L 70.9% C 0.206 H 318.3°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#D56FF2
RGBrgb(213, 111, 242)
HSLhsl(287, 83%, 69%)
HSVhsv(287, 54%, 95%)
CMYKcmyk(12%, 54.1%, 0%, 5.1%)
CIE-LABlab(63.28, 59.59, -49.29)
CIE-LCHlch(63.28, 77.33, 320.40°)
OKLaboklab(70.86% 0.154 -0.1372)
OKLCHoklch(70.86% 0.206 318.3)
XYZxyz(49.1498, 31.9277, 87.5608)
Luminance0.3193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56FF2 #8CF26F
analogous
#946FF2 #D56FF2 #F26FCD
triadic
#D56FF2 #F2D56F #6FF2D5
tetradic
#D56FF2 #F2946F #8CF26F #6FCDF2
square
#D56FF2 #F2946F #8CF26F #6FCDF2
split-complementary
#D56FF2 #CDF26F #6FF294
monochromatic
#A913D4 #C537ED #D56FF2 #E5A7F7 #F6DFFC

Accessibility & contrast

On white

2.84
#D56FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#D56FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56FF2
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56FF2#FFFFFF#000000##000000
##D56FF21.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#D583A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d56ff2;
/* rgb */ color: rgb(213, 111, 242);
/* oklch */ color: oklch(70.9% 0.206 318.3);
Tailwind
colors: {
  custom: {
    50: '#e59cf7',
    500: '#d56ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d56ff2;
$custom-light: #e59cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d56ff2",
  "rgb": {
    "r": 213,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 286.718,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70856,
    "c": 0.20624,
    "h": 318.3
  },
  "luminance": 0.31926
}

Semantic roles & 50–950 ramp

primary
#D56FF2
secondary
#D4F1CB
accent
#E00636
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D56FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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