#D57FEF#D57FEF

#D57FEF is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.0% C 0.178 H 318.0°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#D57FEF
RGBrgb(213, 127, 239)
HSLhsl(286, 78%, 72%)
HSVhsv(286, 47%, 94%)
CMYKcmyk(10.9%, 46.9%, 0%, 6.3%)
CIE-LABlab(66.18, 51.03, -43.07)
CIE-LCHlch(66.18, 66.77, 319.83°)
OKLaboklab(72.95% 0.1324 -0.1192)
OKLCHoklch(72.95% 0.178 318)
XYZxyz(50.6078, 35.5586, 85.8423)
Luminance0.3556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D57FEF #99EF7F
analogous
#9D7FEF #D57FEF #EF7FD1
triadic
#D57FEF #EFD57F #7FEFD5
tetradic
#D57FEF #EF9D7F #99EF7F #7FD1EF
square
#D57FEF #EF9D7F #99EF7F #7FD1EF
split-complementary
#D57FEF #D1EF7F #7FEF9D
monochromatic
#AD1BD9 #C349E8 #D57FEF #E7B5F6 #F6E4FC

Accessibility & contrast

On white

2.59
#D57FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#D57FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D57FEF
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D57FEF#FFFFFF#000000##000000
##D57FEF1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF3
Deuteranopia (green-blind)
#84A4EC
Tritanopia (blue-blind)
#D58FAC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d57fef;
/* rgb */ color: rgb(213, 127, 239);
/* oklch */ color: oklch(73.0% 0.178 318.0);
Tailwind
colors: {
  custom: {
    50: '#e4a6f4',
    500: '#d57fef',
    950: '#000000',
  },
}
SCSS
$custom: #d57fef;
$custom-light: #e4a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d57fef",
  "rgb": {
    "r": 213,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 286.071,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72951,
    "c": 0.17819,
    "h": 318
  },
  "luminance": 0.35557
}

Semantic roles & 50–950 ramp

primary
#D57FEF
secondary
#DDF3D7
accent
#DA0B3B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D57FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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