#D457FB#D457FB

#D457FB is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.4% C 0.247 H 317.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#D457FB
RGBrgb(212, 87, 251)
HSLhsl(286, 95%, 66%)
HSVhsv(286, 65%, 98%)
CMYKcmyk(15.5%, 65.3%, 0%, 1.6%)
CIE-LABlab(59.69, 71.84, -59.99)
CIE-LCHlch(59.69, 93.60, 320.13°)
OKLaboklab(68.37% 0.1814 -0.1683)
OKLCHoklch(68.37% 0.247 317.1)
XYZxyz(47.9696, 27.7804, 94.0834)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D457FB #7EFB57
analogous
#8257FB #D457FB #FB57D0
triadic
#D457FB #FBD457 #57FBD4
tetradic
#D457FB #FB8257 #7EFB57 #57D0FB
square
#D457FB #FB8257 #7EFB57 #57D0FB
split-complementary
#D457FB #D0FB57 #57FB82
monochromatic
#A205D3 #C51BFA #D457FB #E393FC #F3CFFE

Accessibility & contrast

On white

3.20
#D457FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#D457FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D457FB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D457FB#FFFFFF#000000##000000
##D457FB1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A88FF
Deuteranopia (green-blind)
#5B94F7
Tritanopia (blue-blind)
#D275A2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d457fb;
/* rgb */ color: rgb(212, 87, 251);
/* oklch */ color: oklch(68.4% 0.247 317.1);
Tailwind
colors: {
  custom: {
    50: '#e58ffd',
    500: '#d457fb',
    950: '#000000',
  },
}
SCSS
$custom: #d457fb;
$custom-light: #e58ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#d457fb",
  "rgb": {
    "r": 212,
    "g": 87,
    "b": 251
  },
  "hsl": {
    "h": 285.732,
    "s": 95.349,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68372,
    "c": 0.24739,
    "h": 317.1
  },
  "luminance": 0.27778
}

Semantic roles & 50–950 ramp

primary
#D457FB
secondary
#C9F2BC
accent
#E60037
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D457FB

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

Preview Lab → · Contrast checker → · Palette generator →

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