#E793DC#E793DC

#E793DC is a light, vivid purple. Relative luminance 0.430; OKLCH L 77.2% C 0.137 H 331.6°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#E793DC
RGBrgb(231, 147, 220)
HSLhsl(308, 64%, 74%)
HSVhsv(308, 36%, 91%)
CMYKcmyk(0%, 36.4%, 4.8%, 9.4%)
CIE-LABlab(71.57, 42.46, -24.09)
CIE-LCHlch(71.57, 48.82, 330.44°)
OKLaboklab(77.19% 0.1203 -0.065)
OKLCHoklch(77.19% 0.137 331.6)
XYZxyz(56.3063, 43.0263, 73.0353)
Luminance0.4302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E793DC #93E79E
analogous
#C893E7 #E793DC #E793B2
triadic
#E793DC #DCE793 #93DCE7
tetradic
#E793DC #E7C893 #93E79E #93B2E7
square
#E793DC #E7C893 #93E79E #93B2E7
split-complementary
#E793DC #B2E793 #93E7C8
monochromatic
#D12FBC #DC61CC #E793DC #F2C5EC #F9E6F7

Accessibility & contrast

On white

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

On black

9.60
#E793DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E793DC
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E793DC#FFFFFF#000000##000000
##E793DC1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A8DF
Deuteranopia (green-blind)
#A6B4D9
Tritanopia (blue-blind)
#EE98AE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #e793dc;
/* rgb */ color: rgb(231, 147, 220);
/* oklch */ color: oklch(77.2% 0.137 331.6);
Tailwind
colors: {
  custom: {
    50: '#f0b4e7',
    500: '#e793dc',
    950: '#000000',
  },
}
SCSS
$custom: #e793dc;
$custom-light: #f0b4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e793dc",
  "rgb": {
    "r": 231,
    "g": 147,
    "b": 220
  },
  "hsl": {
    "h": 307.857,
    "s": 63.636,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7719,
    "c": 0.13677,
    "h": 331.6
  },
  "luminance": 0.43024
}

Semantic roles & 50–950 ramp

primary
#E793DC
secondary
#DAF1DD
accent
#CB311A
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E793DC

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

Preview Lab → · Contrast checker → · Palette generator →

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