#D057F2#D057F2

#D057F2 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.3% C 0.238 H 318.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#D057F2
RGBrgb(208, 87, 242)
HSLhsl(287, 86%, 65%)
HSVhsv(287, 64%, 95%)
CMYKcmyk(14%, 64%, 0%, 5.1%)
CIE-LABlab(58.64, 69.26, -56.71)
CIE-LCHlch(58.64, 89.52, 320.69°)
OKLaboklab(67.34% 0.177 -0.1588)
OKLCHoklch(67.34% 0.238 318.1)
XYZxyz(45.4454, 26.6390, 86.7352)
Luminance0.2664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D057F2 #79F257
analogous
#8357F2 #D057F2 #F257C6
triadic
#D057F2 #F2D057 #57F2D0
tetradic
#D057F2 #F28357 #79F257 #57C6F2
square
#D057F2 #F28357 #79F257 #57C6F2
split-complementary
#D057F2 #C6F257 #57F283
monochromatic
#990FC0 #C01EEE #D057F2 #E090F6 #F0C9FB

Accessibility & contrast

On white

3.32
#D057F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#D057F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D057F2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D057F2#FFFFFF#000000##000000
##D057F21.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2085F7
Deuteranopia (green-blind)
#5E91EE
Tritanopia (blue-blind)
#CF739D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d057f2;
/* rgb */ color: rgb(208, 87, 242);
/* oklch */ color: oklch(67.3% 0.238 318.1);
Tailwind
colors: {
  custom: {
    50: '#e28ef7',
    500: '#d057f2',
    950: '#000000',
  },
}
SCSS
$custom: #d057f2;
$custom-light: #e28ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#d057f2",
  "rgb": {
    "r": 208,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 286.839,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6734,
    "c": 0.23775,
    "h": 318.1
  },
  "luminance": 0.26637
}

Semantic roles & 50–950 ramp

primary
#D057F2
secondary
#C3EDB8
accent
#E20334
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D057F2

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

Preview Lab → · Contrast checker → · Palette generator →

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