#D792ED#D792ED

#D792ED is a light, vivid purple. Relative luminance 0.411; OKLCH L 76.0% C 0.145 H 317.7°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#D792ED
RGBrgb(215, 146, 237)
HSLhsl(285, 72%, 75%)
HSVhsv(285, 38%, 93%)
CMYKcmyk(9.3%, 38.4%, 0%, 7.1%)
CIE-LABlab(70.26, 41.25, -35.59)
CIE-LCHlch(70.26, 54.48, 319.21°)
OKLaboklab(76.03% 0.1076 -0.0978)
OKLCHoklch(76.03% 0.145 317.7)
XYZxyz(53.5871, 41.1207, 85.2186)
Luminance0.4112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D792ED #A8ED92
analogous
#AA92ED #D792ED #ED92D5
triadic
#D792ED #EDD792 #92EDD7
tetradic
#D792ED #EDAA92 #A8ED92 #92D5ED
square
#D792ED #EDAA92 #A8ED92 #92D5ED
split-complementary
#D792ED #D5ED92 #92EDAA
monochromatic
#B029DC #C45DE4 #D792ED #EAC7F6 #F5E5FB

Accessibility & contrast

On white

2.28
#D792ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#D792ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D792ED
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D792ED#FFFFFF#000000##000000
##D792ED1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A7F0
Deuteranopia (green-blind)
#96AEEA
Tritanopia (blue-blind)
#D79DB5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d792ed;
/* rgb */ color: rgb(215, 146, 237);
/* oklch */ color: oklch(76.0% 0.145 317.7);
Tailwind
colors: {
  custom: {
    50: '#e4b3f3',
    500: '#d792ed',
    950: '#000000',
  },
}
SCSS
$custom: #d792ed;
$custom-light: #e4b3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d792ed",
  "rgb": {
    "r": 215,
    "g": 146,
    "b": 237
  },
  "hsl": {
    "h": 285.495,
    "s": 71.654,
    "l": 75.098
  },
  "oklch": {
    "l": 0.76026,
    "c": 0.14546,
    "h": 317.7
  },
  "luminance": 0.41119
}

Semantic roles & 50–950 ramp

primary
#D792ED
secondary
#DFF2D9
accent
#D41241
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D792ED

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

Preview Lab → · Contrast checker → · Palette generator →

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