#D57EF2#D57EF2

#D57EF2 is a light, vivid purple. Relative luminance 0.355; OKLCH L 73.0% C 0.183 H 317.2°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#D57EF2
RGBrgb(213, 126, 242)
HSLhsl(285, 82%, 72%)
HSVhsv(285, 48%, 95%)
CMYKcmyk(12%, 47.9%, 0%, 5.1%)
CIE-LABlab(66.12, 52.13, -44.82)
CIE-LCHlch(66.12, 68.75, 319.32°)
OKLaboklab(72.95% 0.1342 -0.1243)
OKLCHoklch(72.95% 0.183 317.2)
XYZxyz(50.9261, 35.4803, 88.1529)
Luminance0.3548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D57EF2 #9BF27E
analogous
#9B7EF2 #D57EF2 #F27ED5
triadic
#D57EF2 #F2D57E #7EF2D5
tetradic
#D57EF2 #F29B7E #9BF27E #7ED5F2
square
#D57EF2 #F29B7E #9BF27E #7ED5F2
split-complementary
#D57EF2 #D5F27E #7EF29B
monochromatic
#AD16DF #C346EC #D57EF2 #E7B6F8 #F6E3FC

Accessibility & contrast

On white

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

On black

8.10
#D57EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D57EF2
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D57EF2#FFFFFF#000000##000000
##D57EF21.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#82A4EF
Tritanopia (blue-blind)
#D48FAD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d57ef2;
/* rgb */ color: rgb(213, 126, 242);
/* oklch */ color: oklch(73.0% 0.183 317.2);
Tailwind
colors: {
  custom: {
    50: '#e4a6f7',
    500: '#d57ef2',
    950: '#000000',
  },
}
SCSS
$custom: #d57ef2;
$custom-light: #e4a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d57ef2",
  "rgb": {
    "r": 213,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 285,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72951,
    "c": 0.18291,
    "h": 317.2
  },
  "luminance": 0.35479
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D57EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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