#D795EF#D795EF

#D795EF is a light, vivid purple. Relative luminance 0.422; OKLCH L 76.6% C 0.143 H 316.7°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#D795EF
RGBrgb(215, 149, 239)
HSLhsl(284, 74%, 76%)
HSVhsv(284, 38%, 94%)
CMYKcmyk(10%, 37.7%, 0%, 6.3%)
CIE-LABlab(70.99, 40.04, -35.55)
CIE-LCHlch(70.99, 53.55, 318.40°)
OKLaboklab(76.6% 0.1038 -0.0977)
OKLCHoklch(76.6% 0.143 316.7)
XYZxyz(54.3495, 42.1753, 86.9222)
Luminance0.4217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795EF #ADEF95
analogous
#AA95EF #D795EF #EF95DA
triadic
#D795EF #EFD795 #95EFD7
tetradic
#D795EF #EFAA95 #ADEF95 #95DAEF
square
#D795EF #EFAA95 #ADEF95 #95DAEF
split-complementary
#D795EF #DAEF95 #95EFAA
monochromatic
#AF2BDF #C360E7 #D795EF #EBCAF7 #F5E4FB

Accessibility & contrast

On white

2.23
#D795EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#D795EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795EF
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795EF#FFFFFF#000000##000000
##D795EF1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AAF2
Deuteranopia (green-blind)
#97B0EC
Tritanopia (blue-blind)
#D6A0B7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d795ef;
/* rgb */ color: rgb(215, 149, 239);
/* oklch */ color: oklch(76.6% 0.143 316.7);
Tailwind
colors: {
  custom: {
    50: '#e4b5f4',
    500: '#d795ef',
    950: '#000000',
  },
}
SCSS
$custom: #d795ef;
$custom-light: #e4b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d795ef",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 239
  },
  "hsl": {
    "h": 284,
    "s": 73.77,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76604,
    "c": 0.14256,
    "h": 316.7
  },
  "luminance": 0.42174
}

Semantic roles & 50–950 ramp

primary
#D795EF
secondary
#DFF3D8
accent
#D61044
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D795EF

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

Preview Lab → · Contrast checker → · Palette generator →

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