#D56EF5#D56EF5

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

Color values

HEX#D56EF5
RGBrgb(213, 110, 245)
HSLhsl(286, 87%, 70%)
HSVhsv(286, 55%, 96%)
CMYKcmyk(13.1%, 55.1%, 0%, 3.9%)
CIE-LABlab(63.25, 60.65, -50.99)
CIE-LCHlch(63.25, 79.24, 319.94°)
OKLaboklab(70.88% 0.1555 -0.1421)
OKLCHoklch(70.88% 0.211 317.6)
XYZxyz(49.4956, 31.8924, 89.9171)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56EF5 #8EF56E
analogous
#926EF5 #D56EF5 #F56ED1
triadic
#D56EF5 #F5D56E #6EF5D5
tetradic
#D56EF5 #F5926E #8EF56E #6ED1F5
square
#D56EF5 #F5926E #8EF56E #6ED1F5
split-complementary
#D56EF5 #D1F56E #6EF592
monochromatic
#AA0FDA #C435F1 #D56EF5 #E6A7F9 #F6E1FD

Accessibility & contrast

On white

2.85
#D56EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#D56EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56EF5
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56EF5#FFFFFF#000000##000000
##D56EF51.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F92F9
Deuteranopia (green-blind)
#739CF1
Tritanopia (blue-blind)
#D483A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d56ef5;
/* rgb */ color: rgb(213, 110, 245);
/* oklch */ color: oklch(70.9% 0.211 317.6);
Tailwind
colors: {
  custom: {
    50: '#e59cf9',
    500: '#d56ef5',
    950: '#000000',
  },
}
SCSS
$custom: #d56ef5;
$custom-light: #e59cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#d56ef5",
  "rgb": {
    "r": 213,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 285.778,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70883,
    "c": 0.21067,
    "h": 317.6
  },
  "luminance": 0.31891
}

Semantic roles & 50–950 ramp

primary
#D56EF5
secondary
#D5F3CC
accent
#E40237
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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