#D456E7#D456E7

#D456E7 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.1% C 0.231 H 322.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#D456E7
RGBrgb(212, 86, 231)
HSLhsl(292, 75%, 62%)
HSVhsv(292, 63%, 91%)
CMYKcmyk(8.2%, 62.8%, 0%, 9.4%)
CIE-LABlab(58.44, 68.56, -50.86)
CIE-LCHlch(58.44, 85.36, 323.43°)
OKLaboklab(67.11% 0.1826 -0.1416)
OKLCHoklch(67.11% 0.231 322.2)
XYZxyz(44.9015, 26.4245, 78.3211)
Luminance0.2642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D456E7 #69E756
analogous
#8C56E7 #D456E7 #E756B2
triadic
#D456E7 #E7D456 #56E7D4
tetradic
#D456E7 #E78C56 #69E756 #56B2E7
square
#D456E7 #E78C56 #69E756 #56B2E7
split-complementary
#D456E7 #B2E756 #56E78C
monochromatic
#9718AA #C620DF #D456E7 #E28CEF #EFC1F6

Accessibility & contrast

On white

3.34
#D456E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#D456E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D456E7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D456E7#FFFFFF#000000##000000
##D456E71.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3483EB
Deuteranopia (green-blind)
#6891E3
Tritanopia (blue-blind)
#D76D97
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d456e7;
/* rgb */ color: rgb(212, 86, 231);
/* oklch */ color: oklch(67.1% 0.231 322.2);
Tailwind
colors: {
  custom: {
    50: '#e58eef',
    500: '#d456e7',
    950: '#000000',
  },
}
SCSS
$custom: #d456e7;
$custom-light: #e58eef;
$custom-dark: #000000;
JSON
{
  "hex": "#d456e7",
  "rgb": {
    "r": 212,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 292.138,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67114,
    "c": 0.23109,
    "h": 322.2
  },
  "luminance": 0.26422
}

Semantic roles & 50–950 ramp

primary
#D456E7
secondary
#B9E7B2
accent
#D70E29
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D456E7

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

Preview Lab → · Contrast checker → · Palette generator →

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