#D794EF#D794EF

#D794EF is a light, vivid purple. Relative luminance 0.419; OKLCH L 76.4% C 0.144 H 316.8°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#D794EF
RGBrgb(215, 148, 239)
HSLhsl(284, 74%, 76%)
HSVhsv(284, 38%, 94%)
CMYKcmyk(10%, 38.1%, 0%, 6.3%)
CIE-LABlab(70.77, 40.58, -35.88)
CIE-LCHlch(70.77, 54.17, 318.51°)
OKLaboklab(76.44% 0.1052 -0.0987)
OKLCHoklch(76.44% 0.144 316.8)
XYZxyz(54.1920, 41.8603, 86.8697)
Luminance0.4186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D794EF #ACEF94
analogous
#A994EF #D794EF #EF94D9
triadic
#D794EF #EFD794 #94EFD7
tetradic
#D794EF #EFA994 #ACEF94 #94D9EF
square
#D794EF #EFA994 #ACEF94 #94D9EF
split-complementary
#D794EF #D9EF94 #94EFA9
monochromatic
#AF2ADF #C35FE7 #D794EF #EBC9F7 #F5E4FB

Accessibility & contrast

On white

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

On black

9.37
#D794EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D794EF
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D794EF#FFFFFF#000000##000000
##D794EF1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A9F2
Deuteranopia (green-blind)
#97AFEC
Tritanopia (blue-blind)
#D7A0B6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d794ef;
/* rgb */ color: rgb(215, 148, 239);
/* oklch */ color: oklch(76.4% 0.144 316.8);
Tailwind
colors: {
  custom: {
    50: '#e4b4f4',
    500: '#d794ef',
    950: '#000000',
  },
}
SCSS
$custom: #d794ef;
$custom-light: #e4b4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d794ef",
  "rgb": {
    "r": 215,
    "g": 148,
    "b": 239
  },
  "hsl": {
    "h": 284.176,
    "s": 73.984,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7644,
    "c": 0.14425,
    "h": 316.8
  },
  "luminance": 0.41859
}

Semantic roles & 50–950 ramp

primary
#D794EF
secondary
#DFF3D8
accent
#D60F44
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D794EF

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

Preview Lab → · Contrast checker → · Palette generator →

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