#D254CD#D254CD

#D254CD is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.3% C 0.211 H 329.3°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#D254CD
RGBrgb(210, 84, 205)
HSLhsl(302, 58%, 58%)
HSVhsv(302, 60%, 82%)
CMYKcmyk(0%, 60%, 2.4%, 17.6%)
CIE-LABlab(56.54, 64.41, -39.19)
CIE-LCHlch(56.54, 75.40, 328.68°)
OKLaboklab(65.25% 0.1813 -0.1078)
OKLCHoklch(65.25% 0.211 329.3)
XYZxyz(40.7677, 24.4528, 60.3184)
Luminance0.2445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254CD #54D259
analogous
#9854D2 #D254CD #D2548E
triadic
#D254CD #CDD254 #54CDD2
tetradic
#D254CD #D29854 #54D259 #548ED2
square
#D254CD #D29854 #54D259 #548ED2
split-complementary
#D254CD #8ED254 #54D298
monochromatic
#882484 #B831B3 #D254CD #DF84DB #EBB5E9

Accessibility & contrast

On white

3.57
#D254CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#D254CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254CD
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254CD#FFFFFF#000000##000000
##D254CD1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD1
Deuteranopia (green-blind)
#748ECA
Tritanopia (blue-blind)
#D96289
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d254cd;
/* rgb */ color: rgb(210, 84, 205);
/* oklch */ color: oklch(65.3% 0.211 329.3);
Tailwind
colors: {
  custom: {
    50: '#e38cdc',
    500: '#d254cd',
    950: '#000000',
  },
}
SCSS
$custom: #d254cd;
$custom-light: #e38cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d254cd",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 302.381,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65252,
    "c": 0.21092,
    "h": 329.3
  },
  "luminance": 0.2445
}

Semantic roles & 50–950 ramp

primary
#D254CD
secondary
#A8DAAA
accent
#E24C46
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D254CD

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

Preview Lab → · Contrast checker → · Palette generator →

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