#D57AFE#D57AFE

#D57AFE is a light, highly saturated purple. Relative luminance 0.352; OKLCH L 73.0% C 0.202 H 314.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#D57AFE
RGBrgb(213, 122, 254)
HSLhsl(281, 99%, 74%)
HSVhsv(281, 52%, 100%)
CMYKcmyk(16.1%, 52%, 0%, 0.4%)
CIE-LABlab(65.92, 56.58, -51.72)
CIE-LCHlch(65.92, 76.66, 317.57°)
OKLaboklab(72.99% 0.1408 -0.1443)
OKLCHoklch(72.99% 0.202 314.3)
XYZxyz(52.2866, 35.2224, 97.7910)
Luminance0.3522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D57AFE #A3FE7A
analogous
#937AFE #D57AFE #FE7AE5
triadic
#D57AFE #FED57A #7AFED5
tetradic
#D57AFE #FE937A #A3FE7A #7AE5FE
square
#D57AFE #FE937A #A3FE7A #7AE5FE
split-complementary
#D57AFE #E5FE7A #7AFE93
monochromatic
#AE02FC #C23DFE #D57AFE #E8B7FE #F5E1FF

Accessibility & contrast

On white

2.61
#D57AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#D57AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D57AFE
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D57AFE#FFFFFF#000000##000000
##D57AFE1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#77A3FB
Tritanopia (blue-blind)
#D28FB1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d57afe;
/* rgb */ color: rgb(213, 122, 254);
/* oklch */ color: oklch(73.0% 0.202 314.3);
Tailwind
colors: {
  custom: {
    50: '#e4a3ff',
    500: '#d57afe',
    950: '#000000',
  },
}
SCSS
$custom: #d57afe;
$custom-light: #e4a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d57afe",
  "rgb": {
    "r": 213,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 281.364,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72991,
    "c": 0.20162,
    "h": 314.3
  },
  "luminance": 0.35221
}

Semantic roles & 50–950 ramp

primary
#D57AFE
secondary
#DFF7D4
accent
#E60047
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D57AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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