#D254C7#D254C7

#D254C7 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.0% C 0.206 H 331.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#D254C7
RGBrgb(210, 84, 199)
HSLhsl(305, 58%, 58%)
HSVhsv(305, 60%, 82%)
CMYKcmyk(0%, 60%, 5.2%, 17.6%)
CIE-LABlab(56.26, 63.42, -36.21)
CIE-LCHlch(56.26, 73.03, 330.28°)
OKLaboklab(64.96% 0.1806 -0.0992)
OKLCHoklch(64.96% 0.206 331.2)
XYZxyz(40.0573, 24.1687, 56.5770)
Luminance0.2417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254C7 #54D25F
analogous
#9E54D2 #D254C7 #D25488
triadic
#D254C7 #C7D254 #54C7D2
tetradic
#D254C7 #D29E54 #54D25F #5488D2
square
#D254C7 #D29E54 #54D25F #5488D2
split-complementary
#D254C7 #88D254 #54D29E
monochromatic
#88247F #B831AC #D254C7 #DF84D7 #EBB5E7

Accessibility & contrast

On white

3.60
#D254C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#D254C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254C7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254C7#FFFFFF#000000##000000
##D254C71.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7CCB
Deuteranopia (green-blind)
#778DC4
Tritanopia (blue-blind)
#DA6086
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d254c7;
/* rgb */ color: rgb(210, 84, 199);
/* oklch */ color: oklch(65.0% 0.206 331.2);
Tailwind
colors: {
  custom: {
    50: '#e38bd8',
    500: '#d254c7',
    950: '#000000',
  },
}
SCSS
$custom: #d254c7;
$custom-light: #e38bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#d254c7",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 199
  },
  "hsl": {
    "h": 305.238,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64955,
    "c": 0.20611,
    "h": 331.2
  },
  "luminance": 0.24166
}

Semantic roles & 50–950 ramp

primary
#D254C7
secondary
#A8DAAC
accent
#E25446
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160D14
muted
#847D83

Preview Lab

Preview with #D254C7

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

Preview Lab → · Contrast checker → · Palette generator →

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