#D57EFC#D57EFC

#D57EFC is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.5% C 0.193 H 314.4°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#D57EFC
RGBrgb(213, 126, 252)
HSLhsl(281, 95%, 74%)
HSVhsv(281, 50%, 99%)
CMYKcmyk(15.5%, 50%, 0%, 1.2%)
CIE-LABlab(66.59, 54.16, -49.56)
CIE-LCHlch(66.59, 73.41, 317.54°)
OKLaboklab(73.46% 0.1354 -0.138)
OKLCHoklch(73.46% 0.193 314.4)
XYZxyz(52.4693, 36.0975, 96.2801)
Luminance0.3610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D57EFC #A5FC7E
analogous
#967EFC #D57EFC #FC7EE4
triadic
#D57EFC #FCD57E #7EFCD5
tetradic
#D57EFC #FC967E #A5FC7E #7EE4FC
square
#D57EFC #FC967E #A5FC7E #7EE4FC
split-complementary
#D57EFC #E4FC7E #7EFC96
monochromatic
#AE06F9 #C242FB #D57EFC #E8BAFD #F5E1FE

Accessibility & contrast

On white

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

On black

8.22
#D57EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D57EFC
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D57EFC#FFFFFF#000000##000000
##D57EFC1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d57efc;
/* rgb */ color: rgb(213, 126, 252);
/* oklch */ color: oklch(73.5% 0.193 314.4);
Tailwind
colors: {
  custom: {
    50: '#e4a6fe',
    500: '#d57efc',
    950: '#000000',
  },
}
SCSS
$custom: #d57efc;
$custom-light: #e4a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d57efc",
  "rgb": {
    "r": 213,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 281.429,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73457,
    "c": 0.19335,
    "h": 314.4
  },
  "luminance": 0.36096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D57EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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