#D254CE#D254CE

#D254CE is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.3% C 0.212 H 328.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#D254CE
RGBrgb(210, 84, 206)
HSLhsl(302, 58%, 58%)
HSVhsv(302, 60%, 82%)
CMYKcmyk(0%, 60%, 1.9%, 17.6%)
CIE-LABlab(56.59, 64.58, -39.69)
CIE-LCHlch(56.59, 75.80, 328.43°)
OKLaboklab(65.3% 0.1814 -0.1092)
OKLCHoklch(65.3% 0.212 328.9)
XYZxyz(40.8888, 24.5012, 60.9561)
Luminance0.2450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254CE #54D258
analogous
#9754D2 #D254CE #D2548F
triadic
#D254CE #CED254 #54CED2
tetradic
#D254CE #D29754 #54D258 #548FD2
square
#D254CE #D29754 #54D258 #548FD2
split-complementary
#D254CE #8FD254 #54D297
monochromatic
#882485 #B831B4 #D254CE #DF84DC #EBB5EA

Accessibility & contrast

On white

3.56
#D254CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#D254CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254CE
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254CE#FFFFFF#000000##000000
##D254CE1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#487DD2
Deuteranopia (green-blind)
#738ECB
Tritanopia (blue-blind)
#D96289
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d254ce;
/* rgb */ color: rgb(210, 84, 206);
/* oklch */ color: oklch(65.3% 0.212 328.9);
Tailwind
colors: {
  custom: {
    50: '#e38cdd',
    500: '#d254ce',
    950: '#000000',
  },
}
SCSS
$custom: #d254ce;
$custom-light: #e38cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#d254ce",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 301.905,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65303,
    "c": 0.21173,
    "h": 328.9
  },
  "luminance": 0.24499
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D254CE

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

Preview Lab → · Contrast checker → · Palette generator →

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