#D254D8#D254D8

#D254D8 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.8% C 0.220 H 325.9°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#D254D8
RGBrgb(210, 84, 216)
HSLhsl(297, 63%, 59%)
HSVhsv(297, 61%, 85%)
CMYKcmyk(2.8%, 61.1%, 0%, 15.3%)
CIE-LABlab(57.08, 66.28, -44.59)
CIE-LCHlch(57.08, 79.88, 326.07°)
OKLaboklab(65.82% 0.1821 -0.1234)
OKLCHoklch(65.82% 0.22 325.9)
XYZxyz(42.1425, 25.0027, 67.5587)
Luminance0.2500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254D8 #5AD854
analogous
#9054D8 #D254D8 #D8549C
triadic
#D254D8 #D8D254 #54D8D2
tetradic
#D254D8 #D89054 #5AD854 #549CD8
square
#D254D8 #D89054 #5AD854 #549CD8
split-complementary
#D254D8 #9CD854 #54D890
monochromatic
#8C2191 #BC2CC2 #D254D8 #DF86E3 #ECB8EF

Accessibility & contrast

On white

3.50
#D254D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#D254D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254D8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254D8#FFFFFF#000000##000000
##D254D81.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#407FDC
Deuteranopia (green-blind)
#6E8FD4
Tritanopia (blue-blind)
#D7668F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d254d8;
/* rgb */ color: rgb(210, 84, 216);
/* oklch */ color: oklch(65.8% 0.220 325.9);
Tailwind
colors: {
  custom: {
    50: '#e38ce4',
    500: '#d254d8',
    950: '#000000',
  },
}
SCSS
$custom: #d254d8;
$custom-light: #e38ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#d254d8",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 297.273,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6582,
    "c": 0.21999,
    "h": 325.9
  },
  "luminance": 0.25
}

Semantic roles & 50–950 ramp

primary
#D254D8
secondary
#ACDEAA
accent
#E64249
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D254D8

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

Preview Lab → · Contrast checker → · Palette generator →

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