#D792EC#D792EC

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

Color values

HEX#D792EC
RGBrgb(215, 146, 236)
HSLhsl(286, 70%, 75%)
HSVhsv(286, 38%, 93%)
CMYKcmyk(8.9%, 38.1%, 0%, 7.5%)
CIE-LABlab(70.22, 41.05, -35.10)
CIE-LCHlch(70.22, 54.01, 319.46°)
OKLaboklab(75.98% 0.1074 -0.0965)
OKLCHoklch(75.98% 0.144 318.1)
XYZxyz(53.4414, 41.0625, 84.4513)
Luminance0.4106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D792EC #A7EC92
analogous
#AA92EC #D792EC #EC92D4
triadic
#D792EC #ECD792 #92ECD7
tetradic
#D792EC #ECAA92 #A7EC92 #92D4EC
square
#D792EC #ECAA92 #A7EC92 #92D4EC
split-complementary
#D792EC #D4EC92 #92ECAA
monochromatic
#B12ADA #C45EE3 #D792EC #EAC6F5 #F5E5FA

Accessibility & contrast

On white

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

On black

9.21
#D792EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D792EC
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D792EC#FFFFFF#000000##000000
##D792EC1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EF
Deuteranopia (green-blind)
#96AEE9
Tritanopia (blue-blind)
#D79DB4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d792ec;
/* rgb */ color: rgb(215, 146, 236);
/* oklch */ color: oklch(76.0% 0.144 318.1);
Tailwind
colors: {
  custom: {
    50: '#e4b3f2',
    500: '#d792ec',
    950: '#000000',
  },
}
SCSS
$custom: #d792ec;
$custom-light: #e4b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d792ec",
  "rgb": {
    "r": 215,
    "g": 146,
    "b": 236
  },
  "hsl": {
    "h": 286,
    "s": 70.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75982,
    "c": 0.14438,
    "h": 318.1
  },
  "luminance": 0.41061
}

Semantic roles & 50–950 ramp

primary
#D792EC
secondary
#DFF2D9
accent
#D21340
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D792EC

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

Preview Lab → · Contrast checker → · Palette generator →

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