#D254D5#D254D5

#D254D5 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.7% C 0.217 H 326.8°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D254D5
RGBrgb(210, 84, 213)
HSLhsl(299, 61%, 58%)
HSVhsv(299, 61%, 84%)
CMYKcmyk(1.4%, 60.6%, 0%, 16.5%)
CIE-LABlab(56.93, 65.76, -43.12)
CIE-LCHlch(56.93, 78.64, 326.74°)
OKLaboklab(65.66% 0.1819 -0.1192)
OKLCHoklch(65.66% 0.217 326.8)
XYZxyz(41.7582, 24.8490, 65.5348)
Luminance0.2485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254D5 #57D554
analogous
#9154D5 #D254D5 #D55497
triadic
#D254D5 #D5D254 #54D5D2
tetradic
#D254D5 #D59154 #57D554 #5497D5
square
#D254D5 #D59154 #57D554 #5497D5
split-complementary
#D254D5 #97D554 #54D591
monochromatic
#8A228C #BA2EBD #D254D5 #DF85E1 #ECB6ED

Accessibility & contrast

On white

3.52
#D254D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D254D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254D5
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254D5#FFFFFF#000000##000000
##D254D51.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#427ED9
Deuteranopia (green-blind)
#708ED1
Tritanopia (blue-blind)
#D8658D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d254d5;
/* rgb */ color: rgb(210, 84, 213);
/* oklch */ color: oklch(65.7% 0.217 326.8);
Tailwind
colors: {
  custom: {
    50: '#e38ce2',
    500: '#d254d5',
    950: '#000000',
  },
}
SCSS
$custom: #d254d5;
$custom-light: #e38ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#d254d5",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 213
  },
  "hsl": {
    "h": 298.605,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65663,
    "c": 0.21749,
    "h": 326.8
  },
  "luminance": 0.24846
}

Semantic roles & 50–950 ramp

primary
#D254D5
secondary
#AADCA9
accent
#E44448
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D254D5

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

Preview Lab → · Contrast checker → · Palette generator →

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