#D57EFD#D57EFD

#D57EFD is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.5% C 0.194 H 314.2°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#D57EFD
RGBrgb(213, 126, 253)
HSLhsl(281, 97%, 74%)
HSVhsv(281, 50%, 99%)
CMYKcmyk(15.8%, 50.2%, 0%, 0.8%)
CIE-LABlab(66.64, 54.36, -50.03)
CIE-LCHlch(66.64, 73.88, 317.37°)
OKLaboklab(73.51% 0.1355 -0.1394)
OKLCHoklch(73.51% 0.194 314.2)
XYZxyz(52.6282, 36.1611, 97.1169)
Luminance0.3616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D57EFD #A6FD7E
analogous
#967EFD #D57EFD #FD7EE6
triadic
#D57EFD #FDD57E #7EFDD5
tetradic
#D57EFD #FD967E #A6FD7E #7EE6FD
square
#D57EFD #FD967E #A6FD7E #7EE6FD
split-complementary
#D57EFD #E6FD7E #7EFD96
monochromatic
#AE05FB #C142FC #D57EFD #E9BAFE #F5E1FF

Accessibility & contrast

On white

2.55
#D57EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#D57EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D57EFD
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D57EFD#FFFFFF#000000##000000
##D57EFD1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#7CA4FA
Tritanopia (blue-blind)
#D292B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d57efd;
/* rgb */ color: rgb(213, 126, 253);
/* oklch */ color: oklch(73.5% 0.194 314.2);
Tailwind
colors: {
  custom: {
    50: '#e4a6fe',
    500: '#d57efd',
    950: '#000000',
  },
}
SCSS
$custom: #d57efd;
$custom-light: #e4a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d57efd",
  "rgb": {
    "r": 213,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 281.102,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73508,
    "c": 0.1944,
    "h": 314.2
  },
  "luminance": 0.3616
}

Semantic roles & 50–950 ramp

primary
#D57EFD
secondary
#DFF7D4
accent
#E60048
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D57EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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