#D56AFB#D56AFB

#D56AFB is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 70.7% C 0.222 H 316.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#D56AFB
RGBrgb(213, 106, 251)
HSLhsl(284, 95%, 70%)
HSVhsv(284, 58%, 98%)
CMYKcmyk(15.1%, 57.8%, 0%, 1.6%)
CIE-LABlab(62.86, 63.72, -54.93)
CIE-LCHlch(62.86, 84.13, 319.24°)
OKLaboklab(70.7% 0.1608 -0.1535)
OKLCHoklch(70.7% 0.222 316.3)
XYZxyz(50.0046, 31.4210, 94.6789)
Luminance0.3142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56AFB #90FB6A
analogous
#8D6AFB #D56AFB #FB6AD8
triadic
#D56AFB #FBD56A #6AFBD5
tetradic
#D56AFB #FB8D6A #90FB6A #6AD8FB
square
#D56AFB #FB8D6A #90FB6A #6AD8FB
split-complementary
#D56AFB #D8FB6A #6AFB8D
monochromatic
#AA06E4 #C42EF9 #D56AFB #E6A6FD #F7E1FE

Accessibility & contrast

On white

2.88
#D56AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#D56AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56AFB
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56AFB#FFFFFF#000000##000000
##D56AFB1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4391FF
Deuteranopia (green-blind)
#6C9BF7
Tritanopia (blue-blind)
#D382A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d56afb;
/* rgb */ color: rgb(213, 106, 251);
/* oklch */ color: oklch(70.7% 0.222 316.3);
Tailwind
colors: {
  custom: {
    50: '#e59afd',
    500: '#d56afb',
    950: '#000000',
  },
}
SCSS
$custom: #d56afb;
$custom-light: #e59afd;
$custom-dark: #000000;
JSON
{
  "hex": "#d56afb",
  "rgb": {
    "r": 213,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 284.276,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.70697,
    "c": 0.22232,
    "h": 316.3
  },
  "luminance": 0.31419
}

Semantic roles & 50–950 ramp

primary
#D56AFB
secondary
#D7F5CC
accent
#E6003C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D56AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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