#E792DC#E792DC

#E792DC is a light, vivid purple. Relative luminance 0.427; OKLCH L 77.0% C 0.139 H 331.6°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#E792DC
RGBrgb(231, 146, 220)
HSLhsl(308, 64%, 74%)
HSVhsv(308, 37%, 91%)
CMYKcmyk(0%, 36.8%, 4.8%, 9.4%)
CIE-LABlab(71.36, 42.98, -24.41)
CIE-LCHlch(71.36, 49.43, 330.41°)
OKLaboklab(77.03% 0.1218 -0.0659)
OKLCHoklch(77.03% 0.139 331.6)
XYZxyz(56.1515, 42.7167, 72.9837)
Luminance0.4271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E792DC #92E79D
analogous
#C892E7 #E792DC #E792B2
triadic
#E792DC #DCE792 #92DCE7
tetradic
#E792DC #E7C892 #92E79D #92B2E7
square
#E792DC #E7C892 #92E79D #92B2E7
split-complementary
#E792DC #B2E792 #92E7C8
monochromatic
#D12EBC #DC60CC #E792DC #F2C4EC #F9E6F7

Accessibility & contrast

On white

2.20
#E792DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#E792DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E792DC
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E792DC#FFFFFF#000000##000000
##E792DC1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A7DF
Deuteranopia (green-blind)
#A5B3D9
Tritanopia (blue-blind)
#EE97AD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #e792dc;
/* rgb */ color: rgb(231, 146, 220);
/* oklch */ color: oklch(77.0% 0.139 331.6);
Tailwind
colors: {
  custom: {
    50: '#f0b3e7',
    500: '#e792dc',
    950: '#000000',
  },
}
SCSS
$custom: #e792dc;
$custom-light: #f0b3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e792dc",
  "rgb": {
    "r": 231,
    "g": 146,
    "b": 220
  },
  "hsl": {
    "h": 307.765,
    "s": 63.91,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77031,
    "c": 0.1385,
    "h": 331.6
  },
  "luminance": 0.42714
}

Semantic roles & 50–950 ramp

primary
#E792DC
secondary
#DAF1DD
accent
#CC311A
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E792DC

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

Preview Lab → · Contrast checker → · Palette generator →

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