#D857F2#D857F2

#D857F2 is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.4% C 0.241 H 320.5°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#D857F2
RGBrgb(216, 87, 242)
HSLhsl(290, 86%, 65%)
HSVhsv(290, 64%, 95%)
CMYKcmyk(10.7%, 64%, 0%, 5.1%)
CIE-LABlab(59.73, 71.05, -54.90)
CIE-LCHlch(59.73, 89.79, 322.31°)
OKLaboklab(68.35% 0.1861 -0.1533)
OKLCHoklch(68.35% 0.241 320.5)
XYZxyz(47.7522, 27.8285, 86.8433)
Luminance0.2783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D857F2 #71F257
analogous
#8A57F2 #D857F2 #F257BF
triadic
#D857F2 #F2D857 #57F2D8
tetradic
#D857F2 #F28A57 #71F257 #57BFF2
square
#D857F2 #F28A57 #71F257 #57BFF2
split-complementary
#D857F2 #BFF257 #57F28A
monochromatic
#A20FC0 #CB1EEE #D857F2 #E590F6 #F2C9FB

Accessibility & contrast

On white

3.20
#D857F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#D857F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D857F2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D857F2#FFFFFF#000000##000000
##D857F21.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A87F7
Deuteranopia (green-blind)
#6695EE
Tritanopia (blue-blind)
#D9719D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d857f2;
/* rgb */ color: rgb(216, 87, 242);
/* oklch */ color: oklch(68.4% 0.241 320.5);
Tailwind
colors: {
  custom: {
    50: '#e88ff7',
    500: '#d857f2',
    950: '#000000',
  },
}
SCSS
$custom: #d857f2;
$custom-light: #e88ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#d857f2",
  "rgb": {
    "r": 216,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 289.935,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68354,
    "c": 0.24111,
    "h": 320.5
  },
  "luminance": 0.27826
}

Semantic roles & 50–950 ramp

primary
#D857F2
secondary
#C1EDB8
accent
#E20329
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D857F2

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

Preview Lab → · Contrast checker → · Palette generator →

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