#D57DEB#D57DEB

#D57DEB is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.5% C 0.177 H 319.4°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#D57DEB
RGBrgb(213, 125, 235)
HSLhsl(288, 73%, 71%)
HSVhsv(288, 47%, 92%)
CMYKcmyk(9.4%, 46.8%, 0%, 7.8%)
CIE-LABlab(65.60, 51.26, -41.77)
CIE-LCHlch(65.60, 66.13, 320.83°)
OKLaboklab(72.46% 0.1346 -0.1155)
OKLCHoklch(72.46% 0.177 319.4)
XYZxyz(49.7677, 34.8133, 82.6792)
Luminance0.3481 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D57DEB #93EB7D
analogous
#9E7DEB #D57DEB #EB7DCA
triadic
#D57DEB #EBD57D #7DEBD5
tetradic
#D57DEB #EB9E7D #93EB7D #7DCAEB
square
#D57DEB #EB9E7D #93EB7D #7DCAEB
split-complementary
#D57DEB #CAEB7D #7DEB9E
monochromatic
#AB20CE #C448E3 #D57DEB #E6B2F3 #F6E4FB

Accessibility & contrast

On white

2.64
#D57DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#D57DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D57DEB
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D57DEB#FFFFFF#000000##000000
##D57DEB1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EF
Deuteranopia (green-blind)
#84A2E8
Tritanopia (blue-blind)
#D68CA9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d57deb;
/* rgb */ color: rgb(213, 125, 235);
/* oklch */ color: oklch(72.5% 0.177 319.4);
Tailwind
colors: {
  custom: {
    50: '#e4a5f2',
    500: '#d57deb',
    950: '#000000',
  },
}
SCSS
$custom: #d57deb;
$custom-light: #e4a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d57deb",
  "rgb": {
    "r": 213,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 288,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72462,
    "c": 0.17734,
    "h": 319.4
  },
  "luminance": 0.34812
}

Semantic roles & 50–950 ramp

primary
#D57DEB
secondary
#D9F1D3
accent
#D51038
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D57DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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