#D57DFC#D57DFC

#D57DFC is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.3% C 0.195 H 314.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#D57DFC
RGBrgb(213, 125, 252)
HSLhsl(282, 95%, 74%)
HSVhsv(282, 50%, 99%)
CMYKcmyk(15.5%, 50.4%, 0%, 1.2%)
CIE-LABlab(66.40, 54.66, -49.87)
CIE-LCHlch(66.40, 73.99, 317.63°)
OKLaboklab(73.31% 0.1367 -0.1389)
OKLCHoklch(73.31% 0.195 314.5)
XYZxyz(52.3421, 35.8431, 96.2377)
Luminance0.3584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D57DFC #A4FC7D
analogous
#967DFC #D57DFC #FC7DE4
triadic
#D57DFC #FCD57D #7DFCD5
tetradic
#D57DFC #FC967D #A4FC7D #7DE4FC
square
#D57DFC #FC967D #A4FC7D #7DE4FC
split-complementary
#D57DFC #E4FC7D #7DFC96
monochromatic
#AE06F9 #C241FB #D57DFC #E8B9FD #F5E1FE

Accessibility & contrast

On white

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

On black

8.17
#D57DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D57DFC
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D57DFC#FFFFFF#000000##000000
##D57DFC1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#7BA4F9
Tritanopia (blue-blind)
#D291B1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d57dfc;
/* rgb */ color: rgb(213, 125, 252);
/* oklch */ color: oklch(73.3% 0.195 314.5);
Tailwind
colors: {
  custom: {
    50: '#e4a5fe',
    500: '#d57dfc',
    950: '#000000',
  },
}
SCSS
$custom: #d57dfc;
$custom-light: #e4a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d57dfc",
  "rgb": {
    "r": 213,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 281.575,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73313,
    "c": 0.19491,
    "h": 314.5
  },
  "luminance": 0.35842
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D57DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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