#D57DEC#D57DEC

#D57DEC is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.5% C 0.178 H 319.1°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#D57DEC
RGBrgb(213, 125, 236)
HSLhsl(288, 74%, 71%)
HSVhsv(288, 47%, 93%)
CMYKcmyk(9.7%, 47%, 0%, 7.5%)
CIE-LABlab(65.65, 51.46, -42.25)
CIE-LCHlch(65.65, 66.58, 320.61°)
OKLaboklab(72.51% 0.1347 -0.1169)
OKLCHoklch(72.51% 0.178 319.1)
XYZxyz(49.9125, 34.8713, 83.4422)
Luminance0.3487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D57DEC #94EC7D
analogous
#9D7DEC #D57DEC #EC7DCB
triadic
#D57DEC #ECD57D #7DECD5
tetradic
#D57DEC #EC9D7D #94EC7D #7DCBEC
square
#D57DEC #EC9D7D #94EC7D #7DCBEC
split-complementary
#D57DEC #CBEC7D #7DEC9D
monochromatic
#AB1ED0 #C448E4 #D57DEC #E6B2F4 #F6E4FB

Accessibility & contrast

On white

2.63
#D57DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#D57DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D57DEC
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D57DEC#FFFFFF#000000##000000
##D57DEC1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99F0
Deuteranopia (green-blind)
#84A3E9
Tritanopia (blue-blind)
#D68CAA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d57dec;
/* rgb */ color: rgb(213, 125, 236);
/* oklch */ color: oklch(72.5% 0.178 319.1);
Tailwind
colors: {
  custom: {
    50: '#e4a5f2',
    500: '#d57dec',
    950: '#000000',
  },
}
SCSS
$custom: #d57dec;
$custom-light: #e4a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d57dec",
  "rgb": {
    "r": 213,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 287.568,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7251,
    "c": 0.17836,
    "h": 319.1
  },
  "luminance": 0.34869
}

Semantic roles & 50–950 ramp

primary
#D57DEC
secondary
#DAF1D3
accent
#D70F38
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D57DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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