#D792EE#D792EE

#D792EE is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.1% C 0.147 H 317.4°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#D792EE
RGBrgb(215, 146, 238)
HSLhsl(285, 73%, 75%)
HSVhsv(285, 39%, 93%)
CMYKcmyk(9.7%, 38.7%, 0%, 6.7%)
CIE-LABlab(70.30, 41.45, -36.07)
CIE-LCHlch(70.30, 54.94, 318.97°)
OKLaboklab(76.07% 0.1079 -0.0992)
OKLCHoklch(76.07% 0.147 317.4)
XYZxyz(53.7336, 41.1793, 85.9902)
Luminance0.4118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D792EE #A9EE92
analogous
#A992EE #D792EE #EE92D7
triadic
#D792EE #EED792 #92EED7
tetradic
#D792EE #EEA992 #A9EE92 #92D7EE
square
#D792EE #EEA992 #A9EE92 #92D7EE
split-complementary
#D792EE #D7EE92 #92EEA9
monochromatic
#B028DD #C45DE6 #D792EE #EAC7F6 #F5E5FB

Accessibility & contrast

On white

2.27
#D792EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#D792EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D792EE
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D792EE#FFFFFF#000000##000000
##D792EE1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A7F1
Deuteranopia (green-blind)
#95AEEB
Tritanopia (blue-blind)
#D79EB5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d792ee;
/* rgb */ color: rgb(215, 146, 238);
/* oklch */ color: oklch(76.1% 0.147 317.4);
Tailwind
colors: {
  custom: {
    50: '#e4b3f4',
    500: '#d792ee',
    950: '#000000',
  },
}
SCSS
$custom: #d792ee;
$custom-light: #e4b3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d792ee",
  "rgb": {
    "r": 215,
    "g": 146,
    "b": 238
  },
  "hsl": {
    "h": 285,
    "s": 73.016,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7607,
    "c": 0.14655,
    "h": 317.4
  },
  "luminance": 0.41178
}

Semantic roles & 50–950 ramp

primary
#D792EE
secondary
#DFF3D8
accent
#D51042
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D792EE

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

Preview Lab → · Contrast checker → · Palette generator →

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