#D56FEB#D56FEB

#D56FEB is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.5% C 0.199 H 320.3°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#D56FEB
RGBrgb(213, 111, 235)
HSLhsl(289, 76%, 68%)
HSVhsv(289, 53%, 92%)
CMYKcmyk(9.4%, 52.8%, 0%, 7.8%)
CIE-LABlab(62.94, 58.24, -45.95)
CIE-LCHlch(62.94, 74.19, 321.73°)
OKLaboklab(70.49% 0.1534 -0.1275)
OKLCHoklch(70.49% 0.199 320.3)
XYZxyz(48.1186, 31.5152, 82.1295)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56FEB #85EB6F
analogous
#976FEB #D56FEB #EB6FC3
triadic
#D56FEB #EBD56F #6FEBD5
tetradic
#D56FEB #EB976F #85EB6F #6FC3EB
square
#D56FEB #EB976F #85EB6F #6FC3EB
split-complementary
#D56FEB #C3EB6F #6FEB97
monochromatic
#A61BC4 #C539E4 #D56FEB #E5A5F2 #F4DAFA

Accessibility & contrast

On white

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

On black

7.30
#D56FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56FEB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56FEB#FFFFFF#000000##000000
##D56FEB1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EF
Deuteranopia (green-blind)
#799CE8
Tritanopia (blue-blind)
#D681A3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d56feb;
/* rgb */ color: rgb(213, 111, 235);
/* oklch */ color: oklch(70.5% 0.199 320.3);
Tailwind
colors: {
  custom: {
    50: '#e49cf2',
    500: '#d56feb',
    950: '#000000',
  },
}
SCSS
$custom: #d56feb;
$custom-light: #e49cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d56feb",
  "rgb": {
    "r": 213,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 289.355,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70492,
    "c": 0.19945,
    "h": 320.3
  },
  "luminance": 0.31513
}

Semantic roles & 50–950 ramp

primary
#D56FEB
secondary
#CFEEC8
accent
#D80E32
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D56FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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