#D57CEC#D57CEC

#D57CEC is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.4% C 0.180 H 319.1°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#D57CEC
RGBrgb(213, 124, 236)
HSLhsl(288, 75%, 71%)
HSVhsv(288, 47%, 93%)
CMYKcmyk(9.7%, 47.5%, 0%, 7.5%)
CIE-LABlab(65.45, 51.97, -42.56)
CIE-LCHlch(65.45, 67.17, 320.69°)
OKLaboklab(72.36% 0.1361 -0.1178)
OKLCHoklch(72.36% 0.18 319.1)
XYZxyz(49.7866, 34.6194, 83.4003)
Luminance0.3462 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D57CEC #93EC7C
analogous
#9D7CEC #D57CEC #EC7CCB
triadic
#D57CEC #ECD57C #7CECD5
tetradic
#D57CEC #EC9D7C #93EC7C #7CCBEC
square
#D57CEC #EC9D7C #93EC7C #7CCBEC
split-complementary
#D57CEC #CBEC7C #7CEC9D
monochromatic
#AB1ED0 #C447E4 #D57CEC #E6B1F4 #F6E4FB

Accessibility & contrast

On white

2.65
#D57CEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#D57CEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D57CEC
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D57CEC#FFFFFF#000000##000000
##D57CEC1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#83A2E9
Tritanopia (blue-blind)
#D68BA9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d57cec;
/* rgb */ color: rgb(213, 124, 236);
/* oklch */ color: oklch(72.4% 0.180 319.1);
Tailwind
colors: {
  custom: {
    50: '#e4a4f2',
    500: '#d57cec',
    950: '#000000',
  },
}
SCSS
$custom: #d57cec;
$custom-light: #e4a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d57cec",
  "rgb": {
    "r": 213,
    "g": 124,
    "b": 236
  },
  "hsl": {
    "h": 287.679,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72364,
    "c": 0.17997,
    "h": 319.1
  },
  "luminance": 0.34618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D57CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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