#D254D6#D254D6

#D254D6 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.7% C 0.218 H 326.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#D254D6
RGBrgb(210, 84, 214)
HSLhsl(298, 61%, 58%)
HSVhsv(298, 61%, 84%)
CMYKcmyk(1.9%, 60.7%, 0%, 16.1%)
CIE-LABlab(56.98, 65.93, -43.61)
CIE-LCHlch(56.98, 79.05, 326.52°)
OKLaboklab(65.72% 0.182 -0.1206)
OKLCHoklch(65.72% 0.218 326.5)
XYZxyz(41.8855, 24.8999, 66.2053)
Luminance0.2490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254D6 #58D654
analogous
#9154D6 #D254D6 #D65499
triadic
#D254D6 #D6D254 #54D6D2
tetradic
#D254D6 #D69154 #58D654 #5499D6
square
#D254D6 #D69154 #58D654 #5499D6
split-complementary
#D254D6 #99D654 #54D691
monochromatic
#8A228E #BB2EBF #D254D6 #DF85E2 #ECB7EE

Accessibility & contrast

On white

3.51
#D254D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#D254D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254D6
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254D6#FFFFFF#000000##000000
##D254D61.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#427EDA
Deuteranopia (green-blind)
#6F8ED2
Tritanopia (blue-blind)
#D7658E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d254d6;
/* rgb */ color: rgb(210, 84, 214);
/* oklch */ color: oklch(65.7% 0.218 326.5);
Tailwind
colors: {
  custom: {
    50: '#e38ce3',
    500: '#d254d6',
    950: '#000000',
  },
}
SCSS
$custom: #d254d6;
$custom-light: #e38ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#d254d6",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 214
  },
  "hsl": {
    "h": 298.154,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65715,
    "c": 0.21833,
    "h": 326.5
  },
  "luminance": 0.24897
}

Semantic roles & 50–950 ramp

primary
#D254D6
secondary
#ABDDA9
accent
#E44348
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D254D6

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

Preview Lab → · Contrast checker → · Palette generator →

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