#D457F2#D457F2

#D457F2 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.8% C 0.239 H 319.3°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#D457F2
RGBrgb(212, 87, 242)
HSLhsl(288, 86%, 65%)
HSVhsv(288, 64%, 95%)
CMYKcmyk(12.4%, 64%, 0%, 5.1%)
CIE-LABlab(59.18, 70.15, -55.81)
CIE-LCHlch(59.18, 89.65, 321.50°)
OKLaboklab(67.85% 0.1816 -0.156)
OKLCHoklch(67.85% 0.239 319.3)
XYZxyz(46.5845, 27.2264, 86.7886)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D457F2 #75F257
analogous
#8757F2 #D457F2 #F257C3
triadic
#D457F2 #F2D457 #57F2D4
tetradic
#D457F2 #F28757 #75F257 #57C3F2
square
#D457F2 #F28757 #75F257 #57C3F2
split-complementary
#D457F2 #C3F257 #57F287
monochromatic
#9E0FC0 #C51EEE #D457F2 #E390F6 #F1C9FB

Accessibility & contrast

On white

3.26
#D457F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#D457F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D457F2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D457F2#FFFFFF#000000##000000
##D457F21.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2586F7
Deuteranopia (green-blind)
#6293EE
Tritanopia (blue-blind)
#D4729D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d457f2;
/* rgb */ color: rgb(212, 87, 242);
/* oklch */ color: oklch(67.8% 0.239 319.3);
Tailwind
colors: {
  custom: {
    50: '#e58ef7',
    500: '#d457f2',
    950: '#000000',
  },
}
SCSS
$custom: #d457f2;
$custom-light: #e58ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#d457f2",
  "rgb": {
    "r": 212,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 288.387,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67845,
    "c": 0.23941,
    "h": 319.3
  },
  "luminance": 0.27224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D457F2

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

Preview Lab → · Contrast checker → · Palette generator →

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