#D164C8#D164C8

#D164C8 is a light, vivid purple. Relative luminance 0.268; OKLCH L 66.8% C 0.182 H 330.6°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#D164C8
RGBrgb(209, 100, 200)
HSLhsl(305, 54%, 61%)
HSVhsv(305, 52%, 82%)
CMYKcmyk(0%, 52.2%, 4.3%, 18%)
CIE-LABlab(58.83, 56.10, -32.78)
CIE-LCHlch(58.83, 64.98, 329.71°)
OKLaboklab(66.83% 0.159 -0.0896)
OKLCHoklch(66.83% 0.182 330.6)
XYZxyz(41.2767, 26.8424, 57.6394)
Luminance0.2684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D164C8 #64D16D
analogous
#A364D1 #D164C8 #D16491
triadic
#D164C8 #C8D164 #64C8D1
tetradic
#D164C8 #D1A364 #64D16D #6491D1
square
#D164C8 #D1A364 #64D16D #6491D1
split-complementary
#D164C8 #91D164 #64D1A3
monochromatic
#902B88 #BF39B4 #D164C8 #DF93D9 #EDC2E9

Accessibility & contrast

On white

3.30
#D164C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#D164C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D164C8
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D164C8#FFFFFF#000000##000000
##D164C81.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E84CB
Deuteranopia (green-blind)
#7F93C5
Tritanopia (blue-blind)
#D86D8D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d164c8;
/* rgb */ color: rgb(209, 100, 200);
/* oklch */ color: oklch(66.8% 0.182 330.6);
Tailwind
colors: {
  custom: {
    50: '#e195d9',
    500: '#d164c8',
    950: '#000000',
  },
}
SCSS
$custom: #d164c8;
$custom-light: #e195d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d164c8",
  "rgb": {
    "r": 209,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 304.954,
    "s": 54.229,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66829,
    "c": 0.18248,
    "h": 330.6
  },
  "luminance": 0.2684
}

Semantic roles & 50–950 ramp

primary
#D164C8
secondary
#B4DDB7
accent
#C23124
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D164C8

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

Preview Lab → · Contrast checker → · Palette generator →

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