#D874CA#D874CA

#D874CA is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.0% C 0.163 H 332.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#D874CA
RGBrgb(216, 116, 202)
HSLhsl(308, 56%, 65%)
HSVhsv(308, 46%, 85%)
CMYKcmyk(0%, 46.3%, 6.5%, 15.3%)
CIE-LABlab(62.81, 50.66, -27.67)
CIE-LCHlch(62.81, 57.72, 331.36°)
OKLaboklab(70% 0.1447 -0.0751)
OKLCHoklch(70% 0.163 332.6)
XYZxyz(45.2247, 31.3567, 59.5360)
Luminance0.3135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D874CA #74D882
analogous
#B474D8 #D874CA #D87498
triadic
#D874CA #CAD874 #74CAD8
tetradic
#D874CA #D8B474 #74D882 #7498D8
square
#D874CA #D8B474 #74D882 #7498D8
split-complementary
#D874CA #98D874 #74D8B4
monochromatic
#A42E93 #CB44B8 #D874CA #E5A4DC #F3D4EE

Accessibility & contrast

On white

2.89
#D874CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#D874CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D874CA
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D874CA#FFFFFF#000000##000000
##D874CA1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#728FCD
Deuteranopia (green-blind)
#8D9DC7
Tritanopia (blue-blind)
#E07A96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d874ca;
/* rgb */ color: rgb(216, 116, 202);
/* oklch */ color: oklch(70.0% 0.163 332.6);
Tailwind
colors: {
  custom: {
    50: '#e69fda',
    500: '#d874ca',
    950: '#000000',
  },
}
SCSS
$custom: #d874ca;
$custom-light: #e69fda;
$custom-dark: #000000;
JSON
{
  "hex": "#d874ca",
  "rgb": {
    "r": 216,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 308.4,
    "s": 56.18,
    "l": 65.098
  },
  "oklch": {
    "l": 0.7,
    "c": 0.16303,
    "h": 332.6
  },
  "luminance": 0.31354
}

Semantic roles & 50–950 ramp

primary
#D874CA
secondary
#C3E5C8
accent
#C43822
background
#FEFAFD
surface
#FDF3FA
border
#D5CDD3
text
#160F15
muted
#847F83

Preview Lab

Preview with #D874CA

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

Preview Lab → · Contrast checker → · Palette generator →

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