#D254D2#D254D2

#D254D2 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.5% C 0.215 H 327.7°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#D254D2
RGBrgb(210, 84, 210)
HSLhsl(300, 58%, 58%)
HSVhsv(300, 60%, 82%)
CMYKcmyk(0%, 60%, 0%, 17.6%)
CIE-LABlab(56.78, 65.25, -41.66)
CIE-LCHlch(56.78, 77.41, 327.45°)
OKLaboklab(65.51% 0.1817 -0.1149)
OKLCHoklch(65.51% 0.215 327.7)
XYZxyz(41.3809, 24.6981, 63.5479)
Luminance0.2470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254D2 #54D254
analogous
#9354D2 #D254D2 #D25493
triadic
#D254D2 #D2D254 #54D2D2
tetradic
#D254D2 #D29354 #54D254 #5493D2
square
#D254D2 #D29354 #54D254 #5493D2
split-complementary
#D254D2 #93D254 #54D293
monochromatic
#882488 #B831B8 #D254D2 #DF84DF #EBB5EB

Accessibility & contrast

On white

3.54
#D254D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#D254D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254D2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254D2#FFFFFF#000000##000000
##D254D21.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ED6
Deuteranopia (green-blind)
#718ECF
Tritanopia (blue-blind)
#D8648B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d254d2;
/* rgb */ color: rgb(210, 84, 210);
/* oklch */ color: oklch(65.5% 0.215 327.7);
Tailwind
colors: {
  custom: {
    50: '#e38ce0',
    500: '#d254d2',
    950: '#000000',
  },
}
SCSS
$custom: #d254d2;
$custom-light: #e38ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#d254d2",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 300,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65507,
    "c": 0.21501,
    "h": 327.7
  },
  "luminance": 0.24695
}

Semantic roles & 50–950 ramp

primary
#D254D2
secondary
#A8DAA8
accent
#E24646
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D254D2

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

Preview Lab → · Contrast checker → · Palette generator →

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