#D57DF2#D57DF2

#D57DF2 is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.8% C 0.185 H 317.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#D57DF2
RGBrgb(213, 125, 242)
HSLhsl(285, 82%, 72%)
HSVhsv(285, 48%, 95%)
CMYKcmyk(12%, 48.3%, 0%, 5.1%)
CIE-LABlab(65.92, 52.64, -45.13)
CIE-LCHlch(65.92, 69.34, 319.40°)
OKLaboklab(72.8% 0.1356 -0.1252)
OKLCHoklch(72.8% 0.185 317.3)
XYZxyz(50.7989, 35.2258, 88.1105)
Luminance0.3522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D57DF2 #9AF27D
analogous
#9B7DF2 #D57DF2 #F27DD5
triadic
#D57DF2 #F2D57D #7DF2D5
tetradic
#D57DF2 #F29B7D #9AF27D #7DD5F2
square
#D57DF2 #F29B7D #9AF27D #7DD5F2
split-complementary
#D57DF2 #D5F27D #7DF29B
monochromatic
#AD16DE #C345EC #D57DF2 #E7B5F8 #F6E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D57DF2#FFFFFF#000000##000000
##D57DF21.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)
#679BF6
Deuteranopia (green-blind)
#81A3EF
Tritanopia (blue-blind)
#D48EAC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d57df2;
/* rgb */ color: rgb(213, 125, 242);
/* oklch */ color: oklch(72.8% 0.185 317.3);
Tailwind
colors: {
  custom: {
    50: '#e4a5f7',
    500: '#d57df2',
    950: '#000000',
  },
}
SCSS
$custom: #d57df2;
$custom-light: #e4a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d57df2",
  "rgb": {
    "r": 213,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 285.128,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72805,
    "c": 0.18451,
    "h": 317.3
  },
  "luminance": 0.35224
}

Semantic roles & 50–950 ramp

primary
#D57DF2
secondary
#DEF4D7
accent
#DE073D
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D57DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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