#D456F2#D456F2

#D456F2 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.7% C 0.241 H 319.4°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#D456F2
RGBrgb(212, 86, 242)
HSLhsl(288, 86%, 64%)
HSVhsv(288, 64%, 95%)
CMYKcmyk(12.4%, 64.5%, 0%, 5.1%)
CIE-LABlab(59.03, 70.57, -56.05)
CIE-LCHlch(59.03, 90.12, 321.54°)
OKLaboklab(67.74% 0.1827 -0.1567)
OKLCHoklch(67.74% 0.241 319.4)
XYZxyz(46.5041, 27.0656, 86.7618)
Luminance0.2706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D456F2 #74F256
analogous
#8656F2 #D456F2 #F256C2
triadic
#D456F2 #F2D456 #56F2D4
tetradic
#D456F2 #F28656 #74F256 #56C2F2
square
#D456F2 #F28656 #74F256 #56C2F2
split-complementary
#D456F2 #C2F256 #56F286
monochromatic
#9D0FBF #C61DEE #D456F2 #E28FF6 #F1C8FB

Accessibility & contrast

On white

3.27
#D456F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#D456F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D456F2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D456F2#FFFFFF#000000##000000
##D456F21.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2286F7
Deuteranopia (green-blind)
#6192EE
Tritanopia (blue-blind)
#D4719D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d456f2;
/* rgb */ color: rgb(212, 86, 242);
/* oklch */ color: oklch(67.7% 0.241 319.4);
Tailwind
colors: {
  custom: {
    50: '#e58ef7',
    500: '#d456f2',
    950: '#000000',
  },
}
SCSS
$custom: #d456f2;
$custom-light: #e58ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#d456f2",
  "rgb": {
    "r": 212,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 288.462,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67738,
    "c": 0.24068,
    "h": 319.4
  },
  "luminance": 0.27063
}

Semantic roles & 50–950 ramp

primary
#D456F2
secondary
#C1EDB7
accent
#E2032E
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D456F2

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

Preview Lab → · Contrast checker → · Palette generator →

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