#D457EF#D457EF

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

Color values

HEX#D457EF
RGBrgb(212, 87, 239)
HSLhsl(289, 83%, 64%)
HSVhsv(289, 64%, 94%)
CMYKcmyk(11.3%, 63.6%, 0%, 6.3%)
CIE-LABlab(59.02, 69.60, -54.40)
CIE-LCHlch(59.02, 88.34, 321.99°)
OKLaboklab(67.67% 0.1816 -0.1519)
OKLCHoklch(67.67% 0.237 320.1)
XYZxyz(46.1377, 27.0476, 84.4351)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D457EF #72EF57
analogous
#8857EF #D457EF #EF57BE
triadic
#D457EF #EFD457 #57EFD4
tetradic
#D457EF #EF8857 #72EF57 #57BEEF
square
#D457EF #EF8857 #72EF57 #57BEEF
split-complementary
#D457EF #BEEF57 #57EF88
monochromatic
#9C12BA #C61FEA #D457EF #E28FF4 #F1C7FA

Accessibility & contrast

On white

3.28
#D457EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D457EF#FFFFFF#000000##000000
##D457EF1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B85F4
Deuteranopia (green-blind)
#6492EB
Tritanopia (blue-blind)
#D5719C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d457ef;
/* rgb */ color: rgb(212, 87, 239);
/* oklch */ color: oklch(67.7% 0.237 320.1);
Tailwind
colors: {
  custom: {
    50: '#e58ef5',
    500: '#d457ef',
    950: '#000000',
  },
}
SCSS
$custom: #d457ef;
$custom-light: #e58ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#d457ef",
  "rgb": {
    "r": 212,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 289.342,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67673,
    "c": 0.23676,
    "h": 320.1
  },
  "luminance": 0.27045
}

Semantic roles & 50–950 ramp

primary
#D457EF
secondary
#C0ECB6
accent
#DF062D
background
#FEF9FF
surface
#FDF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #D457EF

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

Preview Lab → · Contrast checker → · Palette generator →

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