#D57AF7#D57AF7

#D57AF7 is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.6% C 0.194 H 316.1°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#D57AF7
RGBrgb(213, 122, 247)
HSLhsl(284, 89%, 72%)
HSVhsv(284, 51%, 97%)
CMYKcmyk(13.8%, 50.6%, 0%, 3.1%)
CIE-LABlab(65.58, 55.16, -48.42)
CIE-LCHlch(65.58, 73.40, 318.72°)
OKLaboklab(72.63% 0.1402 -0.1347)
OKLCHoklch(72.63% 0.194 316.1)
XYZxyz(51.1861, 34.7822, 91.9950)
Luminance0.3478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D57AF7 #9CF77A
analogous
#977AF7 #D57AF7 #F77ADA
triadic
#D57AF7 #F7D57A #7AF7D5
tetradic
#D57AF7 #F7977A #9CF77A #7ADAF7
square
#D57AF7 #F7977A #9CF77A #7ADAF7
split-complementary
#D57AF7 #DAF77A #7AF797
monochromatic
#AD0EE9 #C340F4 #D57AF7 #E7B4FA #F6E2FD

Accessibility & contrast

On white

2.64
#D57AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#D57AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D57AF7
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D57AF7#FFFFFF#000000##000000
##D57AF71.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFB
Deuteranopia (green-blind)
#7CA2F4
Tritanopia (blue-blind)
#D38DAD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d57af7;
/* rgb */ color: rgb(213, 122, 247);
/* oklch */ color: oklch(72.6% 0.194 316.1);
Tailwind
colors: {
  custom: {
    50: '#e4a3fa',
    500: '#d57af7',
    950: '#000000',
  },
}
SCSS
$custom: #d57af7;
$custom-light: #e4a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d57af7",
  "rgb": {
    "r": 213,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 283.68,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72627,
    "c": 0.19439,
    "h": 316.1
  },
  "luminance": 0.34781
}

Semantic roles & 50–950 ramp

primary
#D57AF7
secondary
#DEF5D6
accent
#E5003F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D57AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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