#D794EA#D794EA

#D794EA is a light, vivid purple. Relative luminance 0.416; OKLCH L 76.2% C 0.139 H 318.6°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#D794EA
RGBrgb(215, 148, 234)
HSLhsl(287, 67%, 75%)
HSVhsv(287, 37%, 92%)
CMYKcmyk(8.1%, 36.8%, 0%, 8.2%)
CIE-LABlab(70.57, 39.58, -33.46)
CIE-LCHlch(70.57, 51.83, 319.79°)
OKLaboklab(76.22% 0.1041 -0.0918)
OKLCHoklch(76.22% 0.139 318.6)
XYZxyz(53.4635, 41.5689, 83.0332)
Luminance0.4157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D794EA #A7EA94
analogous
#AC94EA #D794EA #EA94D2
triadic
#D794EA #EAD794 #94EAD7
tetradic
#D794EA #EAAC94 #A7EA94 #94D2EA
square
#D794EA #EAAC94 #A7EA94 #94D2EA
split-complementary
#D794EA #D2EA94 #94EAAC
monochromatic
#B12ED6 #C461E0 #D794EA #EAC7F4 #F5E5FA

Accessibility & contrast

On white

2.25
#D794EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#D794EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D794EA
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D794EA#FFFFFF#000000##000000
##D794EA1.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A8ED
Deuteranopia (green-blind)
#99AFE7
Tritanopia (blue-blind)
#D89EB4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d794ea;
/* rgb */ color: rgb(215, 148, 234);
/* oklch */ color: oklch(76.2% 0.139 318.6);
Tailwind
colors: {
  custom: {
    50: '#e4b4f1',
    500: '#d794ea',
    950: '#000000',
  },
}
SCSS
$custom: #d794ea;
$custom-light: #e4b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d794ea",
  "rgb": {
    "r": 215,
    "g": 148,
    "b": 234
  },
  "hsl": {
    "h": 286.744,
    "s": 67.187,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76221,
    "c": 0.1388,
    "h": 318.6
  },
  "luminance": 0.41567
}

Semantic roles & 50–950 ramp

primary
#D794EA
secondary
#DFF1DA
accent
#CF163F
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D794EA

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

Preview Lab → · Contrast checker → · Palette generator →

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