#D457EC#D457EC

#D457EC is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.5% C 0.234 H 320.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#D457EC
RGBrgb(212, 87, 236)
HSLhsl(290, 80%, 63%)
HSVhsv(290, 63%, 93%)
CMYKcmyk(10.2%, 63.1%, 0%, 7.5%)
CIE-LABlab(58.86, 69.05, -52.99)
CIE-LCHlch(58.86, 87.04, 322.50°)
OKLaboklab(67.5% 0.1816 -0.1478)
OKLCHoklch(67.5% 0.234 320.9)
XYZxyz(45.6981, 26.8718, 82.1203)
Luminance0.2687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D457EC #6FEC57
analogous
#8A57EC #D457EC #EC57B9
triadic
#D457EC #ECD457 #57ECD4
tetradic
#D457EC #EC8A57 #6FEC57 #57B9EC
square
#D457EC #EC8A57 #6FEC57 #57B9EC
split-complementary
#D457EC #B9EC57 #57EC8A
monochromatic
#9A14B4 #C620E6 #D457EC #E28EF2 #F0C5F8

Accessibility & contrast

On white

3.29
#D457EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#D457EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D457EC
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D457EC#FFFFFF#000000##000000
##D457EC1.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F85F0
Deuteranopia (green-blind)
#6692E8
Tritanopia (blue-blind)
#D6709A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d457ec;
/* rgb */ color: rgb(212, 87, 236);
/* oklch */ color: oklch(67.5% 0.234 320.9);
Tailwind
colors: {
  custom: {
    50: '#e58ef3',
    500: '#d457ec',
    950: '#000000',
  },
}
SCSS
$custom: #d457ec;
$custom-light: #e58ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#d457ec",
  "rgb": {
    "r": 212,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 290.336,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67502,
    "c": 0.23413,
    "h": 320.9
  },
  "luminance": 0.2687
}

Semantic roles & 50–950 ramp

primary
#D457EC
secondary
#BDEAB5
accent
#DC0A2B
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D457EC

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

Preview Lab → · Contrast checker → · Palette generator →

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