#D57DEF#D57DEF

#D57DEF is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.7% C 0.181 H 318.2°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#D57DEF
RGBrgb(213, 125, 239)
HSLhsl(286, 78%, 71%)
HSVhsv(286, 48%, 94%)
CMYKcmyk(10.9%, 47.7%, 0%, 6.3%)
CIE-LABlab(65.79, 52.05, -43.69)
CIE-LCHlch(65.79, 67.96, 319.99°)
OKLaboklab(72.66% 0.1352 -0.121)
OKLCHoklch(72.66% 0.181 318.2)
XYZxyz(50.3520, 35.0471, 85.7570)
Luminance0.3504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D57DEF #97EF7D
analogous
#9C7DEF #D57DEF #EF7DD0
triadic
#D57DEF #EFD57D #7DEFD5
tetradic
#D57DEF #EF9C7D #97EF7D #7DD0EF
square
#D57DEF #EF9C7D #97EF7D #7DD0EF
split-complementary
#D57DEF #D0EF7D #7DEF9C
monochromatic
#AC1AD7 #C347E8 #D57DEF #E7B3F6 #F6E4FC

Accessibility & contrast

On white

2.62
#D57DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#D57DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D57DEF
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D57DEF#FFFFFF#000000##000000
##D57DEF1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF3
Deuteranopia (green-blind)
#82A3EC
Tritanopia (blue-blind)
#D58DAB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d57def;
/* rgb */ color: rgb(213, 125, 239);
/* oklch */ color: oklch(72.7% 0.181 318.2);
Tailwind
colors: {
  custom: {
    50: '#e4a5f4',
    500: '#d57def',
    950: '#000000',
  },
}
SCSS
$custom: #d57def;
$custom-light: #e4a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d57def",
  "rgb": {
    "r": 213,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 286.316,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72657,
    "c": 0.18143,
    "h": 318.2
  },
  "luminance": 0.35045
}

Semantic roles & 50–950 ramp

primary
#D57DEF
secondary
#DCF3D5
accent
#DA0B3A
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D57DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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