#D457F5#D457F5

#D457F5 is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 68.0% C 0.242 H 318.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#D457F5
RGBrgb(212, 87, 245)
HSLhsl(287, 89%, 65%)
HSVhsv(287, 64%, 96%)
CMYKcmyk(13.5%, 64.5%, 0%, 3.9%)
CIE-LABlab(59.35, 70.71, -57.21)
CIE-LCHlch(59.35, 90.96, 321.02°)
OKLaboklab(68.02% 0.1815 -0.1601)
OKLCHoklch(68.02% 0.242 318.6)
XYZxyz(47.0388, 27.4081, 89.1810)
Luminance0.2741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D457F5 #78F557
analogous
#8557F5 #D457F5 #F557C7
triadic
#D457F5 #F5D457 #57F5D4
tetradic
#D457F5 #F58557 #78F557 #57C7F5
square
#D457F5 #F58557 #78F557 #57C7F5
split-complementary
#D457F5 #C7F557 #57F585
monochromatic
#9F0CC6 #C51DF2 #D457F5 #E391F8 #F2CBFC

Accessibility & contrast

On white

3.24
#D457F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#D457F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D457F5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D457F5#FFFFFF#000000##000000
##D457F51.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F87FA
Deuteranopia (green-blind)
#6093F1
Tritanopia (blue-blind)
#D4739F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d457f5;
/* rgb */ color: rgb(212, 87, 245);
/* oklch */ color: oklch(68.0% 0.242 318.6);
Tailwind
colors: {
  custom: {
    50: '#e58ff9',
    500: '#d457f5',
    950: '#000000',
  },
}
SCSS
$custom: #d457f5;
$custom-light: #e58ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#d457f5",
  "rgb": {
    "r": 212,
    "g": 87,
    "b": 245
  },
  "hsl": {
    "h": 287.468,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68019,
    "c": 0.24206,
    "h": 318.6
  },
  "luminance": 0.27406
}

Semantic roles & 50–950 ramp

primary
#D457F5
secondary
#C4EFB9
accent
#E50030
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D457F5

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

Preview Lab → · Contrast checker → · Palette generator →

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