#D56BFC#D56BFC

#D56BFC is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 70.9% C 0.222 H 316.0°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#D56BFC
RGBrgb(213, 107, 252)
HSLhsl(284, 96%, 70%)
HSVhsv(284, 58%, 99%)
CMYKcmyk(15.5%, 57.5%, 0%, 1.2%)
CIE-LABlab(63.09, 63.45, -55.12)
CIE-LCHlch(63.09, 84.05, 319.02°)
OKLaboklab(70.88% 0.1596 -0.1541)
OKLCHoklch(70.88% 0.222 316)
XYZxyz(50.2663, 31.6915, 95.5458)
Luminance0.3169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56BFC #92FC6B
analogous
#8C6BFC #D56BFC #FC6BDA
triadic
#D56BFC #FCD56B #6BFCD5
tetradic
#D56BFC #FC8C6B #92FC6B #6BDAFC
square
#D56BFC #FC8C6B #92FC6B #6BDAFC
split-complementary
#D56BFC #DAFC6B #6BFC8C
monochromatic
#AB05E8 #C42FFB #D56BFC #E6A7FD #F6E1FE

Accessibility & contrast

On white

2.86
#D56BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#D56BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56BFC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56BFC#FFFFFF#000000##000000
##D56BFC1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4392FF
Deuteranopia (green-blind)
#6C9CF8
Tritanopia (blue-blind)
#D383AA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d56bfc;
/* rgb */ color: rgb(213, 107, 252);
/* oklch */ color: oklch(70.9% 0.222 316.0);
Tailwind
colors: {
  custom: {
    50: '#e59afe',
    500: '#d56bfc',
    950: '#000000',
  },
}
SCSS
$custom: #d56bfc;
$custom-light: #e59afe;
$custom-dark: #000000;
JSON
{
  "hex": "#d56bfc",
  "rgb": {
    "r": 213,
    "g": 107,
    "b": 252
  },
  "hsl": {
    "h": 283.862,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70879,
    "c": 0.22186,
    "h": 316
  },
  "luminance": 0.3169
}

Semantic roles & 50–950 ramp

primary
#D56BFC
secondary
#D8F5CE
accent
#E6003E
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D56BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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