#D772C8#D772C8

#D772C8 is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.5% C 0.164 H 333.0°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#D772C8
RGBrgb(215, 114, 200)
HSLhsl(309, 56%, 65%)
HSVhsv(309, 47%, 84%)
CMYKcmyk(0%, 47%, 7%, 15.7%)
CIE-LABlab(62.21, 51.02, -27.47)
CIE-LCHlch(62.21, 57.94, 331.70°)
OKLaboklab(69.51% 0.146 -0.0745)
OKLCHoklch(69.51% 0.164 333)
XYZxyz(44.4668, 30.6545, 58.2072)
Luminance0.3065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D772C8 #72D781
analogous
#B472D7 #D772C8 #D77296
triadic
#D772C8 #C8D772 #72C8D7
tetradic
#D772C8 #D7B472 #72D781 #7296D7
square
#D772C8 #D7B472 #72D781 #7296D7
split-complementary
#D772C8 #96D772 #72D7B4
monochromatic
#A12E90 #C942B5 #D772C8 #E5A2DB #F2D1ED

Accessibility & contrast

On white

2.95
#D772C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#D772C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D772C8
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D772C8#FFFFFF#000000##000000
##D772C81.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#708DCB
Deuteranopia (green-blind)
#8C9CC5
Tritanopia (blue-blind)
#DF7894
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d772c8;
/* rgb */ color: rgb(215, 114, 200);
/* oklch */ color: oklch(69.5% 0.164 333.0);
Tailwind
colors: {
  custom: {
    50: '#e59ed9',
    500: '#d772c8',
    950: '#000000',
  },
}
SCSS
$custom: #d772c8;
$custom-light: #e59ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#d772c8",
  "rgb": {
    "r": 215,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 308.911,
    "s": 55.801,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69505,
    "c": 0.16394,
    "h": 333
  },
  "luminance": 0.30652
}

Semantic roles & 50–950 ramp

primary
#D772C8
secondary
#C1E4C6
accent
#C33A22
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160F14
muted
#847E83

Preview Lab

Preview with #D772C8

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

Preview Lab → · Contrast checker → · Palette generator →

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