#D794EE#D794EE

#D794EE is a light, vivid purple. Relative luminance 0.418; OKLCH L 76.4% C 0.143 H 317.2°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#D794EE
RGBrgb(215, 148, 238)
HSLhsl(285, 73%, 76%)
HSVhsv(285, 38%, 93%)
CMYKcmyk(9.7%, 37.8%, 0%, 6.7%)
CIE-LABlab(70.73, 40.38, -35.40)
CIE-LCHlch(70.73, 53.70, 318.76°)
OKLaboklab(76.4% 0.105 -0.0973)
OKLCHoklch(76.4% 0.143 317.2)
XYZxyz(54.0446, 41.8013, 86.0938)
Luminance0.4180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D794EE #ABEE94
analogous
#AA94EE #D794EE #EE94D8
triadic
#D794EE #EED794 #94EED7
tetradic
#D794EE #EEAA94 #ABEE94 #94D8EE
square
#D794EE #EEAA94 #ABEE94 #94D8EE
split-complementary
#D794EE #D8EE94 #94EEAA
monochromatic
#B02ADD #C35FE6 #D794EE #EBC9F6 #F5E5FB

Accessibility & contrast

On white

2.24
#D794EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#D794EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D794EE
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D794EE#FFFFFF#000000##000000
##D794EE1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A9F1
Deuteranopia (green-blind)
#97AFEB
Tritanopia (blue-blind)
#D79FB6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d794ee;
/* rgb */ color: rgb(215, 148, 238);
/* oklch */ color: oklch(76.4% 0.143 317.2);
Tailwind
colors: {
  custom: {
    50: '#e4b4f4',
    500: '#d794ee',
    950: '#000000',
  },
}
SCSS
$custom: #d794ee;
$custom-light: #e4b4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d794ee",
  "rgb": {
    "r": 215,
    "g": 148,
    "b": 238
  },
  "hsl": {
    "h": 284.667,
    "s": 72.581,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76396,
    "c": 0.14316,
    "h": 317.2
  },
  "luminance": 0.418
}

Semantic roles & 50–950 ramp

primary
#D794EE
secondary
#DFF2D9
accent
#D51143
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D794EE

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

Preview Lab → · Contrast checker → · Palette generator →

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