#D874CD#D874CD

#D874CD is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.1% C 0.166 H 331.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#D874CD
RGBrgb(216, 116, 205)
HSLhsl(307, 56%, 65%)
HSVhsv(307, 46%, 85%)
CMYKcmyk(0%, 46.3%, 5.1%, 15.3%)
CIE-LABlab(62.93, 51.17, -29.17)
CIE-LCHlch(62.93, 58.90, 330.31°)
OKLaboklab(70.13% 0.1453 -0.0793)
OKLCHoklch(70.13% 0.166 331.4)
XYZxyz(45.5834, 31.5001, 61.4249)
Luminance0.3150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D874CD #74D87F
analogous
#B174D8 #D874CD #D8749B
triadic
#D874CD #CDD874 #74CDD8
tetradic
#D874CD #D8B174 #74D87F #749BD8
square
#D874CD #D8B174 #74D87F #749BD8
split-complementary
#D874CD #9BD874 #74D8B1
monochromatic
#A42E97 #CB44BC #D874CD #E5A4DE #F3D4EF

Accessibility & contrast

On white

2.88
#D874CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#D874CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D874CD
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D874CD#FFFFFF#000000##000000
##D874CD1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#708FD0
Deuteranopia (green-blind)
#8C9DCA
Tritanopia (blue-blind)
#DF7B97
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d874cd;
/* rgb */ color: rgb(216, 116, 205);
/* oklch */ color: oklch(70.1% 0.166 331.4);
Tailwind
colors: {
  custom: {
    50: '#e69fdc',
    500: '#d874cd',
    950: '#000000',
  },
}
SCSS
$custom: #d874cd;
$custom-light: #e69fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d874cd",
  "rgb": {
    "r": 216,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 306.6,
    "s": 56.18,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70129,
    "c": 0.16559,
    "h": 331.4
  },
  "luminance": 0.31497
}

Semantic roles & 50–950 ramp

primary
#D874CD
secondary
#C3E5C7
accent
#C43422
background
#FEFAFD
surface
#FDF3FB
border
#D5CDD4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D874CD

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

Preview Lab → · Contrast checker → · Palette generator →

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