#D254CF#D254CF

#D254CF is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.4% C 0.213 H 328.6°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#D254CF
RGBrgb(210, 84, 207)
HSLhsl(301, 58%, 58%)
HSVhsv(301, 60%, 82%)
CMYKcmyk(0%, 60%, 1.4%, 17.6%)
CIE-LABlab(56.63, 64.75, -40.18)
CIE-LCHlch(56.63, 76.20, 328.18°)
OKLaboklab(65.35% 0.1815 -0.1107)
OKLCHoklch(65.35% 0.213 328.6)
XYZxyz(41.0107, 24.5500, 61.5979)
Luminance0.2455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254CF #54D257
analogous
#9654D2 #D254CF #D25490
triadic
#D254CF #CFD254 #54CFD2
tetradic
#D254CF #D29654 #54D257 #5490D2
square
#D254CF #D29654 #54D257 #5490D2
split-complementary
#D254CF #90D254 #54D296
monochromatic
#882485 #B831B5 #D254CF #DF84DD #EBB5EA

Accessibility & contrast

On white

3.55
#D254CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#D254CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254CF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254CF#FFFFFF#000000##000000
##D254CF1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#477DD3
Deuteranopia (green-blind)
#738ECC
Tritanopia (blue-blind)
#D9638A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d254cf;
/* rgb */ color: rgb(210, 84, 207);
/* oklch */ color: oklch(65.4% 0.213 328.6);
Tailwind
colors: {
  custom: {
    50: '#e38cde',
    500: '#d254cf',
    950: '#000000',
  },
}
SCSS
$custom: #d254cf;
$custom-light: #e38cde;
$custom-dark: #000000;
JSON
{
  "hex": "#d254cf",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 301.429,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65354,
    "c": 0.21255,
    "h": 328.6
  },
  "luminance": 0.24547
}

Semantic roles & 50–950 ramp

primary
#D254CF
secondary
#A8DAA9
accent
#E24A46
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D254CF

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

Preview Lab → · Contrast checker → · Palette generator →

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