#E792DF#E792DF

#E792DF is a light, vivid purple. Relative luminance 0.429; OKLCH L 77.1% C 0.141 H 330.2°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#E792DF
RGBrgb(231, 146, 223)
HSLhsl(306, 64%, 74%)
HSVhsv(306, 37%, 91%)
CMYKcmyk(0%, 36.8%, 3.5%, 9.4%)
CIE-LABlab(71.47, 43.51, -25.89)
CIE-LCHlch(71.47, 50.63, 329.24°)
OKLaboklab(77.15% 0.1226 -0.0701)
OKLCHoklch(77.15% 0.141 330.2)
XYZxyz(56.5524, 42.8770, 75.0950)
Luminance0.4287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E792DF #92E79A
analogous
#C592E7 #E792DF #E792B5
triadic
#E792DF #DFE792 #92DFE7
tetradic
#E792DF #E7C592 #92E79A #92B5E7
square
#E792DF #E7C592 #92E79A #92B5E7
split-complementary
#E792DF #B5E792 #92E7C5
monochromatic
#D12EC1 #DC60D0 #E792DF #F2C4EE #F9E6F8

Accessibility & contrast

On white

2.19
#E792DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#E792DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E792DF
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E792DF#FFFFFF#000000##000000
##E792DF1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA8E2
Deuteranopia (green-blind)
#A4B3DC
Tritanopia (blue-blind)
#ED98AF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #e792df;
/* rgb */ color: rgb(231, 146, 223);
/* oklch */ color: oklch(77.1% 0.141 330.2);
Tailwind
colors: {
  custom: {
    50: '#f0b3e9',
    500: '#e792df',
    950: '#000000',
  },
}
SCSS
$custom: #e792df;
$custom-light: #f0b3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e792df",
  "rgb": {
    "r": 231,
    "g": 146,
    "b": 223
  },
  "hsl": {
    "h": 305.647,
    "s": 63.91,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77149,
    "c": 0.14119,
    "h": 330.2
  },
  "luminance": 0.42874
}

Semantic roles & 50–950 ramp

primary
#E792DF
secondary
#DAF1DC
accent
#CC2B1A
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E792DF

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

Preview Lab → · Contrast checker → · Palette generator →

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