#D792DC#D792DC

#D792DC is a light, vivid purple. Relative luminance 0.402; OKLCH L 75.3% C 0.128 H 324.4°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#D792DC
RGBrgb(215, 146, 220)
HSLhsl(296, 51%, 72%)
HSVhsv(296, 34%, 86%)
CMYKcmyk(2.3%, 33.6%, 0%, 13.7%)
CIE-LABlab(69.59, 37.95, -27.27)
CIE-LCHlch(69.59, 46.73, 324.30°)
OKLaboklab(75.3% 0.1037 -0.0742)
OKLCHoklch(75.3% 0.128 324.4)
XYZxyz(51.2202, 40.1739, 72.7525)
Luminance0.4017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D792DC #97DC92
analogous
#B292DC #D792DC #DC92BC
triadic
#D792DC #DCD792 #92DCD7
tetradic
#D792DC #DCB292 #97DC92 #92BCDC
square
#D792DC #DCB292 #97DC92 #92BCDC
split-complementary
#D792DC #BCDC92 #92DCB2
monochromatic
#B03BB8 #C664CD #D792DC #E8C0EB #F7E8F8

Accessibility & contrast

On white

2.32
#D792DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#D792DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D792DC
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D792DC#FFFFFF#000000##000000
##D792DC1.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA5DF
Deuteranopia (green-blind)
#9CADDA
Tritanopia (blue-blind)
#DA99AD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d792dc;
/* rgb */ color: rgb(215, 146, 220);
/* oklch */ color: oklch(75.3% 0.128 324.4);
Tailwind
colors: {
  custom: {
    50: '#e4b3e7',
    500: '#d792dc',
    950: '#000000',
  },
}
SCSS
$custom: #d792dc;
$custom-light: #e4b3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d792dc",
  "rgb": {
    "r": 215,
    "g": 146,
    "b": 220
  },
  "hsl": {
    "h": 295.946,
    "s": 51.389,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75302,
    "c": 0.12753,
    "h": 324.4
  },
  "luminance": 0.40172
}

Semantic roles & 50–950 ramp

primary
#D792DC
secondary
#DDEEDC
accent
#BF2731
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D792DC

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

Preview Lab → · Contrast checker → · Palette generator →

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