#D174CD#D174CD

#D174CD is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.3% C 0.161 H 328.7°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#D174CD
RGBrgb(209, 116, 205)
HSLhsl(303, 50%, 64%)
HSVhsv(303, 44%, 82%)
CMYKcmyk(0%, 44.5%, 1.9%, 18%)
CIE-LABlab(62.05, 49.09, -30.61)
CIE-LCHlch(62.05, 57.85, 328.05°)
OKLaboklab(69.29% 0.1375 -0.0835)
OKLCHoklch(69.29% 0.161 328.7)
XYZxyz(43.5587, 30.4562, 61.3300)
Luminance0.3045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D174CD #74D178
analogous
#A674D1 #D174CD #D1749E
triadic
#D174CD #CDD174 #74CDD1
tetradic
#D174CD #D1A674 #74D178 #749ED1
square
#D174CD #D1A674 #74D178 #749ED1
split-complementary
#D174CD #9ED174 #74D1A6
monochromatic
#983294 #C246BC #D174CD #E0A2DE #EFD0EE

Accessibility & contrast

On white

2.96
#D174CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#D174CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D174CD
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D174CD#FFFFFF#000000##000000
##D174CD1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8ED0
Deuteranopia (green-blind)
#889ACA
Tritanopia (blue-blind)
#D77C97
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d174cd;
/* rgb */ color: rgb(209, 116, 205);
/* oklch */ color: oklch(69.3% 0.161 328.7);
Tailwind
colors: {
  custom: {
    50: '#e19fdc',
    500: '#d174cd',
    950: '#000000',
  },
}
SCSS
$custom: #d174cd;
$custom-light: #e19fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d174cd",
  "rgb": {
    "r": 209,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 302.581,
    "s": 50.27,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69285,
    "c": 0.16085,
    "h": 328.7
  },
  "luminance": 0.30454
}

Semantic roles & 50–950 ramp

primary
#D174CD
secondary
#C0E1C1
accent
#BE2E28
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#150F15
muted
#847E83

Preview Lab

Preview with #D174CD

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

Preview Lab → · Contrast checker → · Palette generator →

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