#D792E2#D792E2

#D792E2 is a light, vivid purple. Relative luminance 0.405; OKLCH L 75.6% C 0.134 H 321.9°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#D792E2
RGBrgb(215, 146, 226)
HSLhsl(292, 58%, 73%)
HSVhsv(292, 35%, 89%)
CMYKcmyk(4.9%, 35.4%, 0%, 11.4%)
CIE-LABlab(69.82, 39.09, -30.23)
CIE-LCHlch(69.82, 49.41, 322.29°)
OKLaboklab(75.55% 0.1052 -0.0826)
OKLCHoklch(75.55% 0.134 321.9)
XYZxyz(52.0291, 40.4975, 77.0128)
Luminance0.4050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D792E2 #9DE292
analogous
#AF92E2 #D792E2 #E292C5
triadic
#D792E2 #E2D792 #92E2D7
tetradic
#D792E2 #E2AF92 #9DE292 #92C5E2
square
#D792E2 #E2AF92 #9DE292 #92C5E2
split-complementary
#D792E2 #C5E292 #92E2AF
monochromatic
#B134C5 #C562D5 #D792E2 #E9C2EF #F6E7F9

Accessibility & contrast

On white

2.31
#D792E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#D792E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D792E2
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D792E2#FFFFFF#000000##000000
##D792E21.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A6E5
Deuteranopia (green-blind)
#9AADDF
Tritanopia (blue-blind)
#D99BB0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d792e2;
/* rgb */ color: rgb(215, 146, 226);
/* oklch */ color: oklch(75.6% 0.134 321.9);
Tailwind
colors: {
  custom: {
    50: '#e4b3eb',
    500: '#d792e2',
    950: '#000000',
  },
}
SCSS
$custom: #d792e2;
$custom-light: #e4b3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d792e2",
  "rgb": {
    "r": 215,
    "g": 146,
    "b": 226
  },
  "hsl": {
    "h": 291.75,
    "s": 57.971,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75551,
    "c": 0.13372,
    "h": 321.9
  },
  "luminance": 0.40496
}

Semantic roles & 50–950 ramp

primary
#D792E2
secondary
#DEF0DB
accent
#C62037
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D792E2

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

Preview Lab → · Contrast checker → · Palette generator →

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