#D254D9#D254D9

#D254D9 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 65.9% C 0.221 H 325.6°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#D254D9
RGBrgb(210, 84, 217)
HSLhsl(297, 64%, 59%)
HSVhsv(297, 61%, 85%)
CMYKcmyk(3.2%, 61.3%, 0%, 14.9%)
CIE-LABlab(57.13, 66.45, -45.07)
CIE-LCHlch(57.13, 80.29, 325.85°)
OKLaboklab(65.87% 0.1822 -0.1248)
OKLCHoklch(65.87% 0.221 325.6)
XYZxyz(42.2721, 25.0546, 68.2417)
Luminance0.2505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254D9 #5BD954
analogous
#9054D9 #D254D9 #D9549E
triadic
#D254D9 #D9D254 #54D9D2
tetradic
#D254D9 #D99054 #5BD954 #549ED9
square
#D254D9 #D99054 #5BD954 #549ED9
split-complementary
#D254D9 #9ED954 #54D990
monochromatic
#8C2092 #BC2CC4 #D254D9 #DF86E4 #ECB8EF

Accessibility & contrast

On white

3.49
#D254D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#D254D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254D9
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254D9#FFFFFF#000000##000000
##D254D91.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7FDD
Deuteranopia (green-blind)
#6E8FD5
Tritanopia (blue-blind)
#D7678F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d254d9;
/* rgb */ color: rgb(210, 84, 217);
/* oklch */ color: oklch(65.9% 0.221 325.6);
Tailwind
colors: {
  custom: {
    50: '#e38ce5',
    500: '#d254d9',
    950: '#000000',
  },
}
SCSS
$custom: #d254d9;
$custom-light: #e38ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#d254d9",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 296.842,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65873,
    "c": 0.22084,
    "h": 325.6
  },
  "luminance": 0.25052
}

Semantic roles & 50–950 ramp

primary
#D254D9
secondary
#ADDFAA
accent
#E7414A
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D254D9

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

Preview Lab → · Contrast checker → · Palette generator →

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