#D792CE#D792CE

#D792CE is a light, moderate purple. Relative luminance 0.395; OKLCH L 74.8% C 0.114 H 331.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#D792CE
RGBrgb(215, 146, 206)
HSLhsl(308, 46%, 71%)
HSVhsv(308, 32%, 84%)
CMYKcmyk(0%, 32.1%, 4.2%, 15.7%)
CIE-LABlab(69.09, 35.38, -20.30)
CIE-LCHlch(69.09, 40.79, 330.15°)
OKLaboklab(74.75% 0.0999 -0.0547)
OKLCHoklch(74.75% 0.114 331.3)
XYZxyz(49.4431, 39.4631, 63.3933)
Luminance0.3946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D792CE #92D79B
analogous
#BD92D7 #D792CE #D792AB
triadic
#D792CE #CED792 #92CED7
tetradic
#D792CE #D7BD92 #92D79B #92ABD7
square
#D792CE #D7BD92 #92D79B #92ABD7
split-complementary
#D792CE #ABD792 #92D7BD
monochromatic
#AF40A0 #C765BA #D792CE #E7BFE2 #F7E9F5

Accessibility & contrast

On white

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

On black

8.89
#D792CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D792CE
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D792CE#FFFFFF#000000##000000
##D792CE1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A3D0
Deuteranopia (green-blind)
#A1ACCC
Tritanopia (blue-blind)
#DD96A8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d792ce;
/* rgb */ color: rgb(215, 146, 206);
/* oklch */ color: oklch(74.8% 0.114 331.3);
Tailwind
colors: {
  custom: {
    50: '#e4b3dd',
    500: '#d792ce',
    950: '#000000',
  },
}
SCSS
$custom: #d792ce;
$custom-light: #e4b3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d792ce",
  "rgb": {
    "r": 215,
    "g": 146,
    "b": 206
  },
  "hsl": {
    "h": 307.826,
    "s": 46.309,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7475,
    "c": 0.11392,
    "h": 331.3
  },
  "luminance": 0.39461
}

Semantic roles & 50–950 ramp

primary
#D792CE
secondary
#D9ECDC
accent
#BA3E2C
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D792CE

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

Preview Lab → · Contrast checker → · Palette generator →

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