#D57DFD#D57DFD

#D57DFD is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.4% C 0.196 H 314.3°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#D57DFD
RGBrgb(213, 125, 253)
HSLhsl(281, 97%, 74%)
HSVhsv(281, 51%, 99%)
CMYKcmyk(15.8%, 50.6%, 0%, 0.8%)
CIE-LABlab(66.45, 54.87, -50.34)
CIE-LCHlch(66.45, 74.46, 317.46°)
OKLaboklab(73.36% 0.1368 -0.1403)
OKLCHoklch(73.36% 0.196 314.3)
XYZxyz(52.5009, 35.9066, 97.0745)
Luminance0.3590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D57DFD #A5FD7D
analogous
#957DFD #D57DFD #FD7DE5
triadic
#D57DFD #FDD57D #7DFDD5
tetradic
#D57DFD #FD957D #A5FD7D #7DE5FD
square
#D57DFD #FD957D #A5FD7D #7DE5FD
split-complementary
#D57DFD #E5FD7D #7DFD95
monochromatic
#AE04FB #C241FC #D57DFD #E8B9FE #F5E1FF

Accessibility & contrast

On white

2.57
#D57DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#D57DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D57DFD
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D57DFD#FFFFFF#000000##000000
##D57DFD1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d57dfd;
/* rgb */ color: rgb(213, 125, 253);
/* oklch */ color: oklch(73.4% 0.196 314.3);
Tailwind
colors: {
  custom: {
    50: '#e4a5fe',
    500: '#d57dfd',
    950: '#000000',
  },
}
SCSS
$custom: #d57dfd;
$custom-light: #e4a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d57dfd",
  "rgb": {
    "r": 213,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 281.25,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73364,
    "c": 0.19595,
    "h": 314.3
  },
  "luminance": 0.35905
}

Semantic roles & 50–950 ramp

primary
#D57DFD
secondary
#DFF7D4
accent
#E60048
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D57DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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