#D457EA#D457EA

#D457EA is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.4% C 0.232 H 321.4°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#D457EA
RGBrgb(212, 87, 234)
HSLhsl(291, 78%, 63%)
HSVhsv(291, 63%, 92%)
CMYKcmyk(9.4%, 62.8%, 0%, 8.2%)
CIE-LABlab(58.75, 68.69, -52.04)
CIE-LCHlch(58.75, 86.18, 322.85°)
OKLaboklab(67.39% 0.1816 -0.1451)
OKLCHoklch(67.39% 0.232 321.4)
XYZxyz(45.4092, 26.7562, 80.5986)
Luminance0.2675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D457EA #6DEA57
analogous
#8A57EA #D457EA #EA57B7
triadic
#D457EA #EAD457 #57EAD4
tetradic
#D457EA #EA8A57 #6DEA57 #57B7EA
square
#D457EA #EA8A57 #6DEA57 #57B7EA
split-complementary
#D457EA #B7EA57 #57EA8A
monochromatic
#9916B1 #C621E3 #D457EA #E28DF1 #F0C4F8

Accessibility & contrast

On white

3.31
#D457EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#D457EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D457EA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D457EA#FFFFFF#000000##000000
##D457EA1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3284EE
Deuteranopia (green-blind)
#6792E6
Tritanopia (blue-blind)
#D66F99
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d457ea;
/* rgb */ color: rgb(212, 87, 234);
/* oklch */ color: oklch(67.4% 0.232 321.4);
Tailwind
colors: {
  custom: {
    50: '#e58ef1',
    500: '#d457ea',
    950: '#000000',
  },
}
SCSS
$custom: #d457ea;
$custom-light: #e58ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#d457ea",
  "rgb": {
    "r": 212,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 291.02,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6739,
    "c": 0.23238,
    "h": 321.4
  },
  "luminance": 0.26754
}

Semantic roles & 50–950 ramp

primary
#D457EA
secondary
#BCE9B4
accent
#DA0B2A
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D457EA

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

Preview Lab → · Contrast checker → · Palette generator →

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