#D792DB#D792DB

#D792DB is a light, vivid purple. Relative luminance 0.401; OKLCH L 75.3% C 0.127 H 324.9°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#D792DB
RGBrgb(215, 146, 219)
HSLhsl(297, 50%, 72%)
HSVhsv(297, 33%, 86%)
CMYKcmyk(1.8%, 33.3%, 0%, 14.1%)
CIE-LABlab(69.56, 37.76, -26.78)
CIE-LCHlch(69.56, 46.29, 324.66°)
OKLaboklab(75.26% 0.1035 -0.0728)
OKLCHoklch(75.26% 0.127 324.9)
XYZxyz(51.0881, 40.1211, 72.0571)
Luminance0.4012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D792DB #96DB92
analogous
#B392DB #D792DB #DB92BB
triadic
#D792DB #DBD792 #92DBD7
tetradic
#D792DB #DBB392 #96DB92 #92BBDB
square
#D792DB #DBB392 #96DB92 #92BBDB
split-complementary
#D792DB #BBDB92 #92DBB3
monochromatic
#B03CB6 #C664CC #D792DB #E8C0EA #F7E8F7

Accessibility & contrast

On white

2.33
#D792DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#D792DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D792DB
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D792DB#FFFFFF#000000##000000
##D792DB1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d792db;
/* rgb */ color: rgb(215, 146, 219);
/* oklch */ color: oklch(75.3% 0.127 324.9);
Tailwind
colors: {
  custom: {
    50: '#e4b3e6',
    500: '#d792db',
    950: '#000000',
  },
}
SCSS
$custom: #d792db;
$custom-light: #e4b3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d792db",
  "rgb": {
    "r": 215,
    "g": 146,
    "b": 219
  },
  "hsl": {
    "h": 296.712,
    "s": 50.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75261,
    "c": 0.12652,
    "h": 324.9
  },
  "luminance": 0.40119
}

Semantic roles & 50–950 ramp

primary
#D792DB
secondary
#DCEEDB
accent
#BE2830
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D792DB

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

Preview Lab → · Contrast checker → · Palette generator →

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