#D792CD#D792CD

#D792CD is a light, moderate purple. Relative luminance 0.394; OKLCH L 74.7% C 0.113 H 331.9°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#D792CD
RGBrgb(215, 146, 205)
HSLhsl(309, 46%, 71%)
HSVhsv(309, 32%, 84%)
CMYKcmyk(0%, 32.1%, 4.7%, 15.7%)
CIE-LABlab(69.05, 35.20, -19.80)
CIE-LCHlch(69.05, 40.39, 330.64°)
OKLaboklab(74.71% 0.0997 -0.0533)
OKLCHoklch(74.71% 0.113 331.9)
XYZxyz(49.3220, 39.4147, 62.7555)
Luminance0.3941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D792CD #92D79C
analogous
#BE92D7 #D792CD #D792AA
triadic
#D792CD #CDD792 #92CDD7
tetradic
#D792CD #D7BE92 #92D79C #92AAD7
square
#D792CD #D7BE92 #92D79C #92AAD7
split-complementary
#D792CD #AAD792 #92D7BE
monochromatic
#AF409F #C765B8 #D792CD #E7BFE2 #F7E9F5

Accessibility & contrast

On white

2.36
#D792CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#D792CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D792CD
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D792CD#FFFFFF#000000##000000
##D792CD1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A3CF
Deuteranopia (green-blind)
#A1ACCB
Tritanopia (blue-blind)
#DD96A7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d792cd;
/* rgb */ color: rgb(215, 146, 205);
/* oklch */ color: oklch(74.7% 0.113 331.9);
Tailwind
colors: {
  custom: {
    50: '#e4b3dc',
    500: '#d792cd',
    950: '#000000',
  },
}
SCSS
$custom: #d792cd;
$custom-light: #e4b3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d792cd",
  "rgb": {
    "r": 215,
    "g": 146,
    "b": 205
  },
  "hsl": {
    "h": 308.696,
    "s": 46.309,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74712,
    "c": 0.11301,
    "h": 331.9
  },
  "luminance": 0.39413
}

Semantic roles & 50–950 ramp

primary
#D792CD
secondary
#D9ECDC
accent
#BA402C
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D792CD

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

Preview Lab → · Contrast checker → · Palette generator →

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