#D792EA#D792EA

#D792EA is a light, vivid purple. Relative luminance 0.409; OKLCH L 75.9% C 0.142 H 318.8°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#D792EA
RGBrgb(215, 146, 234)
HSLhsl(287, 68%, 75%)
HSVhsv(287, 38%, 92%)
CMYKcmyk(8.1%, 37.6%, 0%, 8.2%)
CIE-LABlab(70.14, 40.65, -34.13)
CIE-LCHlch(70.14, 53.08, 319.98°)
OKLaboklab(75.89% 0.107 -0.0937)
OKLCHoklch(75.89% 0.142 318.8)
XYZxyz(53.1525, 40.9469, 82.9296)
Luminance0.4094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D792EA #A5EA92
analogous
#AB92EA #D792EA #EA92D1
triadic
#D792EA #EAD792 #92EAD7
tetradic
#D792EA #EAAB92 #A5EA92 #92D1EA
square
#D792EA #EAAB92 #A5EA92 #92D1EA
split-complementary
#D792EA #D1EA92 #92EAAB
monochromatic
#B12BD6 #C45FE0 #D792EA #EAC5F4 #F6E5FA

Accessibility & contrast

On white

2.29
#D792EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#D792EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D792EA
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D792EA#FFFFFF#000000##000000
##D792EA1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A7ED
Deuteranopia (green-blind)
#97AEE7
Tritanopia (blue-blind)
#D89DB3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d792ea;
/* rgb */ color: rgb(215, 146, 234);
/* oklch */ color: oklch(75.9% 0.142 318.8);
Tailwind
colors: {
  custom: {
    50: '#e4b3f1',
    500: '#d792ea',
    950: '#000000',
  },
}
SCSS
$custom: #d792ea;
$custom-light: #e4b3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d792ea",
  "rgb": {
    "r": 215,
    "g": 146,
    "b": 234
  },
  "hsl": {
    "h": 287.045,
    "s": 67.692,
    "l": 74.51
  },
  "oklch": {
    "l": 0.75894,
    "c": 0.14222,
    "h": 318.8
  },
  "luminance": 0.40945
}

Semantic roles & 50–950 ramp

primary
#D792EA
secondary
#DFF2D9
accent
#D0163E
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D792EA

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

Preview Lab → · Contrast checker → · Palette generator →

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