#D56FE7#D56FE7

#D56FE7 is a light, vivid purple. Relative luminance 0.313; OKLCH L 70.3% C 0.196 H 321.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#D56FE7
RGBrgb(213, 111, 231)
HSLhsl(291, 71%, 67%)
HSVhsv(291, 52%, 91%)
CMYKcmyk(7.8%, 51.9%, 0%, 9.4%)
CIE-LABlab(62.75, 57.48, -44.03)
CIE-LCHlch(62.75, 72.41, 322.55°)
OKLaboklab(70.29% 0.153 -0.1219)
OKLCHoklch(70.29% 0.196 321.4)
XYZxyz(47.5472, 31.2866, 79.1202)
Luminance0.3129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56FE7 #81E76F
analogous
#996FE7 #D56FE7 #E76FBD
triadic
#D56FE7 #E7D56F #6FE7D5
tetradic
#D56FE7 #E7996F #81E76F #6FBDE7
square
#D56FE7 #E7996F #81E76F #6FBDE7
split-complementary
#D56FE7 #BDE76F #6FE799
monochromatic
#A51FBC #C63BDE #D56FE7 #E4A3F0 #F4D8F8

Accessibility & contrast

On white

2.89
#D56FE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#D56FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56FE7
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56FE7#FFFFFF#000000##000000
##D56FE71.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B90EB
Deuteranopia (green-blind)
#7B9CE4
Tritanopia (blue-blind)
#D77FA1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d56fe7;
/* rgb */ color: rgb(213, 111, 231);
/* oklch */ color: oklch(70.3% 0.196 321.4);
Tailwind
colors: {
  custom: {
    50: '#e49cef',
    500: '#d56fe7',
    950: '#000000',
  },
}
SCSS
$custom: #d56fe7;
$custom-light: #e49cef;
$custom-dark: #000000;
JSON
{
  "hex": "#d56fe7",
  "rgb": {
    "r": 213,
    "g": 111,
    "b": 231
  },
  "hsl": {
    "h": 291,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70289,
    "c": 0.19562,
    "h": 321.4
  },
  "luminance": 0.31285
}

Semantic roles & 50–950 ramp

primary
#D56FE7
secondary
#CCECC6
accent
#D3122F
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D56FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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