#D57FF2#D57FF2

#D57FF2 is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.1% C 0.181 H 317.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#D57FF2
RGBrgb(213, 127, 242)
HSLhsl(285, 82%, 72%)
HSVhsv(285, 48%, 95%)
CMYKcmyk(12%, 47.5%, 0%, 5.1%)
CIE-LABlab(66.32, 51.62, -44.51)
CIE-LCHlch(66.32, 68.16, 319.23°)
OKLaboklab(73.1% 0.1328 -0.1234)
OKLCHoklch(73.1% 0.181 317.1)
XYZxyz(51.0547, 35.7373, 88.1958)
Luminance0.3574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D57FF2 #9CF27F
analogous
#9C7FF2 #D57FF2 #F27FD5
triadic
#D57FF2 #F2D57F #7FF2D5
tetradic
#D57FF2 #F29C7F #9CF27F #7FD5F2
square
#D57FF2 #F29C7F #9CF27F #7FD5F2
split-complementary
#D57FF2 #D5F27F #7FF29C
monochromatic
#AD17E0 #C347EC #D57FF2 #E7B7F8 #F6E3FC

Accessibility & contrast

On white

2.58
#D57FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#D57FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D57FF2
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D57FF2#FFFFFF#000000##000000
##D57FF21.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d57ff2;
/* rgb */ color: rgb(213, 127, 242);
/* oklch */ color: oklch(73.1% 0.181 317.1);
Tailwind
colors: {
  custom: {
    50: '#e4a6f7',
    500: '#d57ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d57ff2;
$custom-light: #e4a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d57ff2",
  "rgb": {
    "r": 213,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 284.87,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73098,
    "c": 0.1813,
    "h": 317.1
  },
  "luminance": 0.35736
}

Semantic roles & 50–950 ramp

primary
#D57FF2
secondary
#DEF4D7
accent
#DE083E
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D57FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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