#D57FEB#D57FEB

#D57FEB is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.8% C 0.174 H 319.2°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#D57FEB
RGBrgb(213, 127, 235)
HSLhsl(288, 73%, 71%)
HSVhsv(288, 46%, 92%)
CMYKcmyk(9.4%, 46%, 0%, 7.8%)
CIE-LABlab(66.00, 50.24, -41.15)
CIE-LCHlch(66.00, 64.94, 320.68°)
OKLaboklab(72.76% 0.1318 -0.1137)
OKLCHoklch(72.76% 0.174 319.2)
XYZxyz(50.0234, 35.3248, 82.7645)
Luminance0.3532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D57FEB #95EB7F
analogous
#9F7FEB #D57FEB #EB7FCB
triadic
#D57FEB #EBD57F #7FEBD5
tetradic
#D57FEB #EB9F7F #95EB7F #7FCBEB
square
#D57FEB #EB9F7F #95EB7F #7FCBEB
split-complementary
#D57FEB #CBEB7F #7FEB9F
monochromatic
#AC20CF #C44AE3 #D57FEB #E6B4F3 #F6E5FB

Accessibility & contrast

On white

2.60
#D57FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#D57FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D57FEB
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D57FEB#FFFFFF#000000##000000
##D57FEB1.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#86A3E8
Tritanopia (blue-blind)
#D68DAA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d57feb;
/* rgb */ color: rgb(213, 127, 235);
/* oklch */ color: oklch(72.8% 0.174 319.2);
Tailwind
colors: {
  custom: {
    50: '#e4a6f2',
    500: '#d57feb',
    950: '#000000',
  },
}
SCSS
$custom: #d57feb;
$custom-light: #e4a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d57feb",
  "rgb": {
    "r": 213,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 287.778,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72758,
    "c": 0.17409,
    "h": 319.2
  },
  "luminance": 0.35323
}

Semantic roles & 50–950 ramp

primary
#D57FEB
secondary
#DAF1D5
accent
#D51038
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D57FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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