#D772CD#D772CD

#D772CD is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.7% C 0.168 H 331.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#D772CD
RGBrgb(215, 114, 205)
HSLhsl(306, 56%, 65%)
HSVhsv(306, 47%, 84%)
CMYKcmyk(0%, 47%, 4.7%, 15.7%)
CIE-LABlab(62.42, 51.87, -29.98)
CIE-LCHlch(62.42, 59.91, 329.98°)
OKLaboklab(69.72% 0.1471 -0.0816)
OKLCHoklch(69.72% 0.168 331)
XYZxyz(45.0607, 30.8921, 61.3351)
Luminance0.3089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D772CD #72D77C
analogous
#AF72D7 #D772CD #D7729A
triadic
#D772CD #CDD772 #72CDD7
tetradic
#D772CD #D7AF72 #72D77C #729AD7
square
#D772CD #D7AF72 #72D77C #729AD7
split-complementary
#D772CD #9AD772 #72D7AF
monochromatic
#A12E96 #C942BC #D772CD #E5A2DE #F2D1EF

Accessibility & contrast

On white

2.93
#D772CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#D772CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D772CD
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D772CD#FFFFFF#000000##000000
##D772CD1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8ED0
Deuteranopia (green-blind)
#8A9CCA
Tritanopia (blue-blind)
#DE7A96
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d772cd;
/* rgb */ color: rgb(215, 114, 205);
/* oklch */ color: oklch(69.7% 0.168 331.0);
Tailwind
colors: {
  custom: {
    50: '#e59edc',
    500: '#d772cd',
    950: '#000000',
  },
}
SCSS
$custom: #d772cd;
$custom-light: #e59edc;
$custom-dark: #000000;
JSON
{
  "hex": "#d772cd",
  "rgb": {
    "r": 215,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 305.941,
    "s": 55.801,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69722,
    "c": 0.1682,
    "h": 331
  },
  "luminance": 0.30889
}

Semantic roles & 50–950 ramp

primary
#D772CD
secondary
#C1E4C4
accent
#C33222
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #D772CD

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

Preview Lab → · Contrast checker → · Palette generator →

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