#D792DF#D792DF

#D792DF is a light, vivid purple. Relative luminance 0.403; OKLCH L 75.4% C 0.131 H 323.1°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#D792DF
RGBrgb(215, 146, 223)
HSLhsl(294, 55%, 72%)
HSVhsv(294, 35%, 87%)
CMYKcmyk(3.6%, 34.5%, 0%, 12.5%)
CIE-LABlab(69.71, 38.52, -28.75)
CIE-LCHlch(69.71, 48.06, 323.26°)
OKLaboklab(75.43% 0.1045 -0.0784)
OKLCHoklch(75.43% 0.131 323.1)
XYZxyz(51.6210, 40.3343, 74.8638)
Luminance0.4033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D792DF #9ADF92
analogous
#B092DF #D792DF #DF92C1
triadic
#D792DF #DFD792 #92DFD7
tetradic
#D792DF #DFB092 #9ADF92 #92C1DF
square
#D792DF #DFB092 #9ADF92 #92C1DF
split-complementary
#D792DF #C1DF92 #92DFB0
monochromatic
#B138BF #C663D1 #D792DF #E8C1ED #F6E7F8

Accessibility & contrast

On white

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

On black

9.07
#D792DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D792DF
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D792DF#FFFFFF#000000##000000
##D792DF1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA5E2
Deuteranopia (green-blind)
#9BADDC
Tritanopia (blue-blind)
#DA9AAF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d792df;
/* rgb */ color: rgb(215, 146, 223);
/* oklch */ color: oklch(75.4% 0.131 323.1);
Tailwind
colors: {
  custom: {
    50: '#e4b3e9',
    500: '#d792df',
    950: '#000000',
  },
}
SCSS
$custom: #d792df;
$custom-light: #e4b3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d792df",
  "rgb": {
    "r": 215,
    "g": 146,
    "b": 223
  },
  "hsl": {
    "h": 293.766,
    "s": 54.61,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75426,
    "c": 0.1306,
    "h": 323.1
  },
  "luminance": 0.40333
}

Semantic roles & 50–950 ramp

primary
#D792DF
secondary
#DEEFDC
accent
#C22334
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D792DF

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

Preview Lab → · Contrast checker → · Palette generator →

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