#D254C8#D254C8

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

Color values

HEX#D254C8
RGBrgb(210, 84, 200)
HSLhsl(305, 58%, 58%)
HSVhsv(305, 60%, 82%)
CMYKcmyk(0%, 60%, 4.8%, 17.6%)
CIE-LABlab(56.30, 63.59, -36.71)
CIE-LCHlch(56.30, 73.42, 330.00°)
OKLaboklab(65% 0.1808 -0.1007)
OKLCHoklch(65% 0.207 330.9)
XYZxyz(40.1738, 24.2152, 57.1904)
Luminance0.2421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254C8 #54D25E
analogous
#9D54D2 #D254C8 #D25489
triadic
#D254C8 #C8D254 #54C8D2
tetradic
#D254C8 #D29D54 #54D25E #5489D2
square
#D254C8 #D29D54 #54D25E #5489D2
split-complementary
#D254C8 #89D254 #54D29D
monochromatic
#882480 #B831AE #D254C8 #DF84D8 #EBB5E7

Accessibility & contrast

On white

3.59
#D254C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#D254C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254C8
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254C8#FFFFFF#000000##000000
##D254C81.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7CCC
Deuteranopia (green-blind)
#768DC5
Tritanopia (blue-blind)
#DA6086
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d254c8;
/* rgb */ color: rgb(210, 84, 200);
/* oklch */ color: oklch(65.0% 0.207 330.9);
Tailwind
colors: {
  custom: {
    50: '#e38cd9',
    500: '#d254c8',
    950: '#000000',
  },
}
SCSS
$custom: #d254c8;
$custom-light: #e38cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#d254c8",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 304.762,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65004,
    "c": 0.20691,
    "h": 330.9
  },
  "luminance": 0.24212
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D254C8

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

Preview Lab → · Contrast checker → · Palette generator →

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