#D254C2#D254C2

#D254C2 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.7% C 0.202 H 332.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#D254C2
RGBrgb(210, 84, 194)
HSLhsl(308, 58%, 58%)
HSVhsv(308, 60%, 82%)
CMYKcmyk(0%, 60%, 7.6%, 17.6%)
CIE-LABlab(56.03, 62.62, -33.70)
CIE-LCHlch(56.03, 71.11, 331.71°)
OKLaboklab(64.71% 0.18 -0.0921)
OKLCHoklch(64.71% 0.202 332.9)
XYZxyz(39.4863, 23.9403, 53.5697)
Luminance0.2394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D254C2 #54D264
analogous
#A354D2 #D254C2 #D25483
triadic
#D254C2 #C2D254 #54C2D2
tetradic
#D254C2 #D2A354 #54D264 #5483D2
square
#D254C2 #D2A354 #54D264 #5483D2
split-complementary
#D254C2 #83D254 #54D2A3
monochromatic
#88247B #B831A7 #D254C2 #DF84D3 #EBB5E5

Accessibility & contrast

On white

3.63
#D254C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#D254C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D254C2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D254C2#FFFFFF#000000##000000
##D254C21.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#507BC5
Deuteranopia (green-blind)
#798DBF
Tritanopia (blue-blind)
#DB5E83
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d254c2;
/* rgb */ color: rgb(210, 84, 194);
/* oklch */ color: oklch(64.7% 0.202 332.9);
Tailwind
colors: {
  custom: {
    50: '#e38bd5',
    500: '#d254c2',
    950: '#000000',
  },
}
SCSS
$custom: #d254c2;
$custom-light: #e38bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#d254c2",
  "rgb": {
    "r": 210,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 307.619,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64714,
    "c": 0.20219,
    "h": 332.9
  },
  "luminance": 0.23937
}

Semantic roles & 50–950 ramp

primary
#D254C2
secondary
#A8DAAE
accent
#E25A46
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160D14
muted
#847D83

Preview Lab

Preview with #D254C2

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

Preview Lab → · Contrast checker → · Palette generator →

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