#D457EB#D457EB

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

Color values

HEX#D457EB
RGBrgb(212, 87, 235)
HSLhsl(291, 79%, 63%)
HSVhsv(291, 63%, 92%)
CMYKcmyk(9.8%, 63%, 0%, 7.8%)
CIE-LABlab(58.80, 68.87, -52.52)
CIE-LCHlch(58.80, 86.61, 322.67°)
OKLaboklab(67.45% 0.1816 -0.1464)
OKLCHoklch(67.45% 0.233 321.1)
XYZxyz(45.5533, 26.8139, 81.3573)
Luminance0.2681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D457EB #6EEB57
analogous
#8A57EB #D457EB #EB57B8
triadic
#D457EB #EBD457 #57EBD4
tetradic
#D457EB #EB8A57 #6EEB57 #57B8EB
square
#D457EB #EB8A57 #6EEB57 #57B8EB
split-complementary
#D457EB #B8EB57 #57EB8A
monochromatic
#9A15B2 #C620E4 #D457EB #E28EF2 #F0C4F8

Accessibility & contrast

On white

3.30
#D457EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#D457EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D457EB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D457EB#FFFFFF#000000##000000
##D457EB1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3185EF
Deuteranopia (green-blind)
#6792E7
Tritanopia (blue-blind)
#D66F9A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d457eb;
/* rgb */ color: rgb(212, 87, 235);
/* oklch */ color: oklch(67.4% 0.233 321.1);
Tailwind
colors: {
  custom: {
    50: '#e58ef2',
    500: '#d457eb',
    950: '#000000',
  },
}
SCSS
$custom: #d457eb;
$custom-light: #e58ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#d457eb",
  "rgb": {
    "r": 212,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 290.676,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67446,
    "c": 0.23325,
    "h": 321.1
  },
  "luminance": 0.26812
}

Semantic roles & 50–950 ramp

primary
#D457EB
secondary
#BDE9B4
accent
#DB0A2B
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D457EB

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

Preview Lab → · Contrast checker → · Palette generator →

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