#D56BF2#D56BF2

#D56BF2 is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.3% C 0.212 H 318.6°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#D56BF2
RGBrgb(213, 107, 242)
HSLhsl(287, 84%, 68%)
HSVhsv(287, 56%, 95%)
CMYKcmyk(12%, 55.8%, 0%, 5.1%)
CIE-LABlab(62.57, 61.50, -50.42)
CIE-LCHlch(62.57, 79.52, 320.65°)
OKLaboklab(70.33% 0.1591 -0.1404)
OKLCHoklch(70.33% 0.212 318.6)
XYZxyz(48.7231, 31.0743, 87.4186)
Luminance0.3107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56BF2 #88F26B
analogous
#916BF2 #D56BF2 #F26BCB
triadic
#D56BF2 #F2D56B #6BF2D5
tetradic
#D56BF2 #F2916B #88F26B #6BCBF2
square
#D56BF2 #F2916B #88F26B #6BCBF2
split-complementary
#D56BF2 #CBF26B #6BF291
monochromatic
#A712D0 #C533ED #D56BF2 #E5A3F7 #F5DCFC

Accessibility & contrast

On white

2.91
#D56BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#D56BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56BF2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56BF2#FFFFFF#000000##000000
##D56BF21.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#729BEE
Tritanopia (blue-blind)
#D580A5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d56bf2;
/* rgb */ color: rgb(213, 107, 242);
/* oklch */ color: oklch(70.3% 0.212 318.6);
Tailwind
colors: {
  custom: {
    50: '#e59af7',
    500: '#d56bf2',
    950: '#000000',
  },
}
SCSS
$custom: #d56bf2;
$custom-light: #e59af7;
$custom-dark: #000000;
JSON
{
  "hex": "#d56bf2",
  "rgb": {
    "r": 213,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 287.111,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70333,
    "c": 0.2122,
    "h": 318.6
  },
  "luminance": 0.31072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D56BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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