#D57BEC#D57BEC

#D57BEC is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.2% C 0.182 H 319.2°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#D57BEC
RGBrgb(213, 123, 236)
HSLhsl(288, 75%, 70%)
HSVhsv(288, 48%, 93%)
CMYKcmyk(9.7%, 47.9%, 0%, 7.5%)
CIE-LABlab(65.26, 52.48, -42.87)
CIE-LCHlch(65.26, 67.76, 320.76°)
OKLaboklab(72.22% 0.1375 -0.1186)
OKLCHoklch(72.22% 0.182 319.2)
XYZxyz(49.6619, 34.3700, 83.3587)
Luminance0.3437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D57BEC #92EC7B
analogous
#9D7BEC #D57BEC #EC7BCA
triadic
#D57BEC #ECD57B #7BECD5
tetradic
#D57BEC #EC9D7B #92EC7B #7BCAEC
square
#D57BEC #EC9D7B #92EC7B #7BCAEC
split-complementary
#D57BEC #CAEC7B #7BEC9D
monochromatic
#AB1ECF #C446E4 #D57BEC #E6B0F4 #F6E4FB

Accessibility & contrast

On white

2.67
#D57BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#D57BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D57BEC
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D57BEC#FFFFFF#000000##000000
##D57BEC1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#82A2E9
Tritanopia (blue-blind)
#D68AA9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d57bec;
/* rgb */ color: rgb(213, 123, 236);
/* oklch */ color: oklch(72.2% 0.182 319.2);
Tailwind
colors: {
  custom: {
    50: '#e4a4f2',
    500: '#d57bec',
    950: '#000000',
  },
}
SCSS
$custom: #d57bec;
$custom-light: #e4a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d57bec",
  "rgb": {
    "r": 213,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 287.788,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72218,
    "c": 0.18158,
    "h": 319.2
  },
  "luminance": 0.34368
}

Semantic roles & 50–950 ramp

primary
#D57BEC
secondary
#D8F1D2
accent
#D70F37
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D57BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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