#D254DC#D254DC

#D254DC is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.0% C 0.223 H 324.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#D254DC
RGBrgb(210, 84, 220)
HSLhsl(296, 66%, 60%)
HSVhsv(296, 62%, 86%)
CMYKcmyk(4.5%, 61.8%, 0%, 13.7%)
CIE-LABlab(57.28, 66.97, -46.53)
CIE-LCHlch(57.28, 81.55, 325.21°)
OKLaboklab(66.03% 0.1823 -0.129)
OKLCHoklch(66.03% 0.223 324.7)
XYZxyz(42.6659, 25.2121, 70.3154)
Luminance0.2521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254DC #5EDC54
analogous
#8E54DC #D254DC #DC54A2
triadic
#D254DC #DCD254 #54DCD2
tetradic
#D254DC #DC8E54 #5EDC54 #54A2DC
square
#D254DC #DC8E54 #5EDC54 #54A2DC
split-complementary
#D254DC #A2DC54 #54DC8E
monochromatic
#8E1F97 #BE29CA #D254DC #DF87E6 #EDBAF1

Accessibility & contrast

On white

3.48
#D254DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#D254DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254DC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254DC#FFFFFF#000000##000000
##D254DC1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C80E0
Deuteranopia (green-blind)
#6C8FD8
Tritanopia (blue-blind)
#D66891
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d254dc;
/* rgb */ color: rgb(210, 84, 220);
/* oklch */ color: oklch(66.0% 0.223 324.7);
Tailwind
colors: {
  custom: {
    50: '#e38ce7',
    500: '#d254dc',
    950: '#000000',
  },
}
SCSS
$custom: #d254dc;
$custom-light: #e38ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#d254dc",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 295.588,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66034,
    "c": 0.22336,
    "h": 324.7
  },
  "luminance": 0.2521
}

Semantic roles & 50–950 ramp

primary
#D254DC
secondary
#AFE0AC
accent
#E93F4B
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D254DC

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

Preview Lab → · Contrast checker → · Palette generator →

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