#D792EB#D792EB

#D792EB is a light, vivid purple. Relative luminance 0.410; OKLCH L 75.9% C 0.143 H 318.4°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#D792EB
RGBrgb(215, 146, 235)
HSLhsl(287, 69%, 75%)
HSVhsv(287, 38%, 92%)
CMYKcmyk(8.5%, 37.9%, 0%, 7.8%)
CIE-LABlab(70.18, 40.85, -34.62)
CIE-LCHlch(70.18, 53.54, 319.72°)
OKLaboklab(75.94% 0.1072 -0.0951)
OKLCHoklch(75.94% 0.143 318.4)
XYZxyz(53.2966, 41.0045, 83.6883)
Luminance0.4100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D792EB #A6EB92
analogous
#AB92EB #D792EB #EB92D2
triadic
#D792EB #EBD792 #92EBD7
tetradic
#D792EB #EBAB92 #A6EB92 #92D2EB
square
#D792EB #EBAB92 #A6EB92 #92D2EB
split-complementary
#D792EB #D2EB92 #92EBAB
monochromatic
#B12BD8 #C45EE2 #D792EB #EAC6F4 #F6E5FA

Accessibility & contrast

On white

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

On black

9.20
#D792EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D792EB
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D792EB#FFFFFF#000000##000000
##D792EB1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EE
Deuteranopia (green-blind)
#97AEE8
Tritanopia (blue-blind)
#D79DB4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d792eb;
/* rgb */ color: rgb(215, 146, 235);
/* oklch */ color: oklch(75.9% 0.143 318.4);
Tailwind
colors: {
  custom: {
    50: '#e4b3f1',
    500: '#d792eb',
    950: '#000000',
  },
}
SCSS
$custom: #d792eb;
$custom-light: #e4b3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d792eb",
  "rgb": {
    "r": 215,
    "g": 146,
    "b": 235
  },
  "hsl": {
    "h": 286.517,
    "s": 68.992,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75938,
    "c": 0.1433,
    "h": 318.4
  },
  "luminance": 0.41003
}

Semantic roles & 50–950 ramp

primary
#D792EB
secondary
#DFF2D9
accent
#D1153F
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D792EB

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

Preview Lab → · Contrast checker → · Palette generator →

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