#D56AF2#D56AF2

#D56AF2 is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.2% C 0.214 H 318.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#D56AF2
RGBrgb(213, 106, 242)
HSLhsl(287, 84%, 68%)
HSVhsv(287, 56%, 95%)
CMYKcmyk(12%, 56.2%, 0%, 5.1%)
CIE-LABlab(62.40, 61.97, -50.70)
CIE-LCHlch(62.40, 80.06, 320.71°)
OKLaboklab(70.21% 0.1603 -0.1412)
OKLCHoklch(70.21% 0.214 318.6)
XYZxyz(48.6195, 30.8669, 87.3840)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56AF2 #87F26A
analogous
#916AF2 #D56AF2 #F26ACB
triadic
#D56AF2 #F2D56A #6AF2D5
tetradic
#D56AF2 #F2916A #87F26A #6ACBF2
square
#D56AF2 #F2916A #87F26A #6ACBF2
split-complementary
#D56AF2 #CBF26A #6AF291
monochromatic
#A712CF #C532ED #D56AF2 #E5A2F7 #F5DBFC

Accessibility & contrast

On white

2.93
#D56AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#D56AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56AF2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56AF2#FFFFFF#000000##000000
##D56AF21.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B90F6
Deuteranopia (green-blind)
#719AEE
Tritanopia (blue-blind)
#D57FA4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d56af2;
/* rgb */ color: rgb(213, 106, 242);
/* oklch */ color: oklch(70.2% 0.214 318.6);
Tailwind
colors: {
  custom: {
    50: '#e599f7',
    500: '#d56af2',
    950: '#000000',
  },
}
SCSS
$custom: #d56af2;
$custom-light: #e599f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d56af2",
  "rgb": {
    "r": 213,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 287.206,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70205,
    "c": 0.21367,
    "h": 318.6
  },
  "luminance": 0.30865
}

Semantic roles & 50–950 ramp

primary
#D56AF2
secondary
#D0F1C7
accent
#E00534
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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