#D57ECB#D57ECB

#D57ECB is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.2% C 0.145 H 331.2°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#D57ECB
RGBrgb(213, 126, 203)
HSLhsl(307, 51%, 66%)
HSVhsv(307, 41%, 84%)
CMYKcmyk(0%, 40.8%, 4.7%, 16.5%)
CIE-LABlab(64.47, 44.80, -25.71)
CIE-LCHlch(64.47, 51.65, 330.15°)
OKLaboklab(71.18% 0.127 -0.0697)
OKLCHoklch(71.18% 0.145 331.2)
XYZxyz(45.6804, 33.3820, 60.5256)
Luminance0.3338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D57ECB #7ED588
analogous
#B47ED5 #D57ECB #D57EA0
triadic
#D57ECB #CBD57E #7ECBD5
tetradic
#D57ECB #D5B47E #7ED588 #7EA0D5
square
#D57ECB #D5B47E #7ED588 #7EA0D5
split-complementary
#D57ECB #A0D57E #7ED5B4
monochromatic
#A33597 #C650B8 #D57ECB #E4ACDE #F3DAF0

Accessibility & contrast

On white

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

On black

7.68
#D57ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D57ECB
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D57ECB#FFFFFF#000000##000000
##D57ECB1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d57ecb;
/* rgb */ color: rgb(213, 126, 203);
/* oklch */ color: oklch(71.2% 0.145 331.2);
Tailwind
colors: {
  custom: {
    50: '#e3a5db',
    500: '#d57ecb',
    950: '#000000',
  },
}
SCSS
$custom: #d57ecb;
$custom-light: #e3a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#d57ecb",
  "rgb": {
    "r": 213,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 306.897,
    "s": 50.877,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71177,
    "c": 0.14481,
    "h": 331.2
  },
  "luminance": 0.3338
}

Semantic roles & 50–950 ramp

primary
#D57ECB
secondary
#C9E6CD
accent
#BE3927
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D57ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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