#D254DF#D254DF

#D254DF is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.2% C 0.226 H 323.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#D254DF
RGBrgb(210, 84, 223)
HSLhsl(294, 68%, 60%)
HSVhsv(294, 62%, 87%)
CMYKcmyk(5.8%, 62.3%, 0%, 12.5%)
CIE-LABlab(57.44, 67.50, -47.97)
CIE-LCHlch(57.44, 82.81, 324.60°)
OKLaboklab(66.2% 0.1824 -0.1332)
OKLCHoklch(66.2% 0.226 323.9)
XYZxyz(43.0668, 25.3724, 72.4267)
Luminance0.2537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254DF #61DF54
analogous
#8C54DF #D254DF #DF54A7
triadic
#D254DF #DFD254 #54DFD2
tetradic
#D254DF #DF8C54 #61DF54 #54A7DF
square
#D254DF #DF8C54 #61DF54 #54A7DF
split-complementary
#D254DF #A7DF54 #54DF8C
monochromatic
#901D9C #BF27CF #D254DF #E088E9 #EDBBF2

Accessibility & contrast

On white

3.46
#D254DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#D254DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254DF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254DF#FFFFFF#000000##000000
##D254DF1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3980E3
Deuteranopia (green-blind)
#6A8FDB
Tritanopia (blue-blind)
#D66992
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d254df;
/* rgb */ color: rgb(210, 84, 223);
/* oklch */ color: oklch(66.2% 0.226 323.9);
Tailwind
colors: {
  custom: {
    50: '#e38ce9',
    500: '#d254df',
    950: '#000000',
  },
}
SCSS
$custom: #d254df;
$custom-light: #e38ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#d254df",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 294.388,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66196,
    "c": 0.22591,
    "h": 323.9
  },
  "luminance": 0.2537
}

Semantic roles & 50–950 ramp

primary
#D254DF
secondary
#B2E2AD
accent
#D01527
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D254DF

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

Preview Lab → · Contrast checker → · Palette generator →

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