#D56CFA#D56CFA

#D56CFA is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 70.9% C 0.218 H 316.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#D56CFA
RGBrgb(213, 108, 250)
HSLhsl(284, 93%, 70%)
HSVhsv(284, 57%, 98%)
CMYKcmyk(14.8%, 56.8%, 0%, 2%)
CIE-LABlab(63.16, 62.59, -53.91)
CIE-LCHlch(63.16, 82.60, 319.26°)
OKLaboklab(70.9% 0.1583 -0.1506)
OKLCHoklch(70.9% 0.218 316.4)
XYZxyz(50.0559, 31.7751, 93.9204)
Luminance0.3177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56CFA #91FA6C
analogous
#8E6CFA #D56CFA #FA6CD8
triadic
#D56CFA #FAD56C #6CFAD5
tetradic
#D56CFA #FA8E6C #91FA6C #6CD8FA
square
#D56CFA #FA8E6C #91FA6C #6CD8FA
split-complementary
#D56CFA #D8FA6C #6CFA8E
monochromatic
#AA08E4 #C431F8 #D56CFA #E6A7FC #F7E1FE

Accessibility & contrast

On white

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

On black

7.35
#D56CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56CFA
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56CFA#FFFFFF#000000##000000
##D56CFA1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4792FF
Deuteranopia (green-blind)
#6E9CF6
Tritanopia (blue-blind)
#D383A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d56cfa;
/* rgb */ color: rgb(213, 108, 250);
/* oklch */ color: oklch(70.9% 0.218 316.4);
Tailwind
colors: {
  custom: {
    50: '#e59bfc',
    500: '#d56cfa',
    950: '#000000',
  },
}
SCSS
$custom: #d56cfa;
$custom-light: #e59bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d56cfa",
  "rgb": {
    "r": 213,
    "g": 108,
    "b": 250
  },
  "hsl": {
    "h": 284.366,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70895,
    "c": 0.21847,
    "h": 316.4
  },
  "luminance": 0.31773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D56CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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