#D795EA#D795EA

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

Color values

HEX#D795EA
RGBrgb(215, 149, 234)
HSLhsl(287, 67%, 75%)
HSVhsv(287, 36%, 92%)
CMYKcmyk(8.1%, 36.3%, 0%, 8.2%)
CIE-LABlab(70.79, 39.05, -33.12)
CIE-LCHlch(70.79, 51.20, 319.69°)
OKLaboklab(76.39% 0.1027 -0.0908)
OKLCHoklch(76.39% 0.137 318.5)
XYZxyz(53.6210, 41.8839, 83.0857)
Luminance0.4188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795EA #A8EA95
analogous
#AC95EA #D795EA #EA95D3
triadic
#D795EA #EAD795 #95EAD7
tetradic
#D795EA #EAAC95 #A8EA95 #95D3EA
square
#D795EA #EAAC95 #A8EA95 #95D3EA
split-complementary
#D795EA #D3EA95 #95EAAC
monochromatic
#B02FD6 #C462E0 #D795EA #EAC8F4 #F5E5FA

Accessibility & contrast

On white

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

On black

9.38
#D795EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795EA
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795EA#FFFFFF#000000##000000
##D795EA1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9ED
Deuteranopia (green-blind)
#99B0E7
Tritanopia (blue-blind)
#D79FB5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d795ea;
/* rgb */ color: rgb(215, 149, 234);
/* oklch */ color: oklch(76.4% 0.137 318.5);
Tailwind
colors: {
  custom: {
    50: '#e4b5f1',
    500: '#d795ea',
    950: '#000000',
  },
}
SCSS
$custom: #d795ea;
$custom-light: #e4b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d795ea",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 234
  },
  "hsl": {
    "h": 286.588,
    "s": 66.929,
    "l": 75.098
  },
  "oklch": {
    "l": 0.76386,
    "c": 0.13707,
    "h": 318.5
  },
  "luminance": 0.41882
}

Semantic roles & 50–950 ramp

primary
#D795EA
secondary
#DFF1DA
accent
#CF1740
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D795EA

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

Preview Lab → · Contrast checker → · Palette generator →

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