#D56BFA#D56BFA

#D56BFA is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 70.8% C 0.220 H 316.5°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#D56BFA
RGBrgb(213, 107, 250)
HSLhsl(284, 93%, 70%)
HSVhsv(284, 57%, 98%)
CMYKcmyk(14.8%, 57.2%, 0%, 2%)
CIE-LABlab(62.98, 63.06, -54.18)
CIE-LCHlch(62.98, 83.14, 319.33°)
OKLaboklab(70.77% 0.1595 -0.1514)
OKLCHoklch(70.77% 0.22 316.5)
XYZxyz(49.9510, 31.5654, 93.8854)
Luminance0.3156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56BFA #90FA6B
analogous
#8E6BFA #D56BFA #FA6BD7
triadic
#D56BFA #FAD56B #6BFAD5
tetradic
#D56BFA #FA8E6B #90FA6B #6BD7FA
square
#D56BFA #FA8E6B #90FA6B #6BD7FA
split-complementary
#D56BFA #D7FA6B #6BFA8E
monochromatic
#AA08E3 #C430F8 #D56BFA #E6A6FC #F7E1FE

Accessibility & contrast

On white

2.87
#D56BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#D56BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56BFA
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56BFA#FFFFFF#000000##000000
##D56BFA1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4592FF
Deuteranopia (green-blind)
#6D9CF6
Tritanopia (blue-blind)
#D383A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d56bfa;
/* rgb */ color: rgb(213, 107, 250);
/* oklch */ color: oklch(70.8% 0.220 316.5);
Tailwind
colors: {
  custom: {
    50: '#e59afc',
    500: '#d56bfa',
    950: '#000000',
  },
}
SCSS
$custom: #d56bfa;
$custom-light: #e59afc;
$custom-dark: #000000;
JSON
{
  "hex": "#d56bfa",
  "rgb": {
    "r": 213,
    "g": 107,
    "b": 250
  },
  "hsl": {
    "h": 284.476,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.70768,
    "c": 0.21991,
    "h": 316.5
  },
  "luminance": 0.31564
}

Semantic roles & 50–950 ramp

primary
#D56BFA
secondary
#D7F4CC
accent
#E6003B
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D56BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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