#D57ECA#D57ECA

#D57ECA is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.1% C 0.144 H 331.7°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#D57ECA
RGBrgb(213, 126, 202)
HSLhsl(308, 51%, 66%)
HSVhsv(308, 41%, 84%)
CMYKcmyk(0%, 40.8%, 5.2%, 16.5%)
CIE-LABlab(64.43, 44.63, -25.20)
CIE-LCHlch(64.43, 51.25, 330.54°)
OKLaboklab(71.14% 0.1267 -0.0682)
OKLCHoklch(71.14% 0.144 331.7)
XYZxyz(45.5617, 33.3345, 59.9000)
Luminance0.3333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D57ECA #7ED589
analogous
#B57ED5 #D57ECA #D57E9F
triadic
#D57ECA #CAD57E #7ECAD5
tetradic
#D57ECA #D5B57E #7ED589 #7E9FD5
square
#D57ECA #D5B57E #7ED589 #7E9FD5
split-complementary
#D57ECA #9FD57E #7ED5B5
monochromatic
#A33595 #C650B7 #D57ECA #E4ACDD #F3DAF0

Accessibility & contrast

On white

2.74
#D57ECA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#D57ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D57ECA
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D57ECA#FFFFFF#000000##000000
##D57ECA1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C95CD
Deuteranopia (green-blind)
#92A1C7
Tritanopia (blue-blind)
#DC849B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d57eca;
/* rgb */ color: rgb(213, 126, 202);
/* oklch */ color: oklch(71.1% 0.144 331.7);
Tailwind
colors: {
  custom: {
    50: '#e3a5da',
    500: '#d57eca',
    950: '#000000',
  },
}
SCSS
$custom: #d57eca;
$custom-light: #e3a5da;
$custom-dark: #000000;
JSON
{
  "hex": "#d57eca",
  "rgb": {
    "r": 213,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 307.586,
    "s": 50.877,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71135,
    "c": 0.14392,
    "h": 331.7
  },
  "luminance": 0.33332
}

Semantic roles & 50–950 ramp

primary
#D57ECA
secondary
#C9E6CD
accent
#BE3A27
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#160F15
muted
#847F83

Preview Lab

Preview with #D57ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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