#D57EFE#D57EFE

#D57EFE is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.6% C 0.195 H 313.9°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#D57EFE
RGBrgb(213, 126, 254)
HSLhsl(281, 98%, 75%)
HSVhsv(281, 50%, 100%)
CMYKcmyk(16.1%, 50.4%, 0%, 0.4%)
CIE-LABlab(66.69, 54.56, -50.50)
CIE-LCHlch(66.69, 74.35, 317.21°)
OKLaboklab(73.56% 0.1356 -0.1408)
OKLCHoklch(73.56% 0.195 313.9)
XYZxyz(52.7879, 36.2250, 97.9581)
Luminance0.3622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D57EFE #A7FE7E
analogous
#957EFE #D57EFE #FE7EE7
triadic
#D57EFE #FED57E #7EFED5
tetradic
#D57EFE #FE957E #A7FE7E #7EE7FE
square
#D57EFE #FE957E #A7FE7E #7EE7FE
split-complementary
#D57EFE #E7FE7E #7EFE95
monochromatic
#AD05FD #C141FE #D57EFE #E9BBFE #F5E1FF

Accessibility & contrast

On white

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

On black

8.24
#D57EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D57EFE
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D57EFE#FFFFFF#000000##000000
##D57EFE1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#7BA4FB
Tritanopia (blue-blind)
#D292B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d57efe;
/* rgb */ color: rgb(213, 126, 254);
/* oklch */ color: oklch(73.6% 0.195 313.9);
Tailwind
colors: {
  custom: {
    50: '#e4a6ff',
    500: '#d57efe',
    950: '#000000',
  },
}
SCSS
$custom: #d57efe;
$custom-light: #e4a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d57efe",
  "rgb": {
    "r": 213,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 280.781,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7356,
    "c": 0.19546,
    "h": 313.9
  },
  "luminance": 0.36224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D57EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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