#D795ED#D795ED

#D795ED is a light, vivid purple. Relative luminance 0.421; OKLCH L 76.5% C 0.140 H 317.4°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#D795ED
RGBrgb(215, 149, 237)
HSLhsl(285, 71%, 76%)
HSVhsv(285, 37%, 93%)
CMYKcmyk(9.3%, 37.1%, 0%, 7.1%)
CIE-LABlab(70.91, 39.64, -34.58)
CIE-LCHlch(70.91, 52.60, 318.90°)
OKLaboklab(76.52% 0.1033 -0.095)
OKLCHoklch(76.52% 0.14 317.4)
XYZxyz(54.0557, 42.0578, 85.3748)
Luminance0.4206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795ED #ABED95
analogous
#AB95ED #D795ED #ED95D7
triadic
#D795ED #EDD795 #95EDD7
tetradic
#D795ED #EDAB95 #ABED95 #95D7ED
square
#D795ED #EDAB95 #ABED95 #95D7ED
split-complementary
#D795ED #D7ED95 #95EDAB
monochromatic
#B02CDB #C361E4 #D795ED #EBC9F6 #F5E5FB

Accessibility & contrast

On white

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

On black

9.41
#D795ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795ED
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795ED#FFFFFF#000000##000000
##D795ED1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9F0
Deuteranopia (green-blind)
#98B0EA
Tritanopia (blue-blind)
#D7A0B6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d795ed;
/* rgb */ color: rgb(215, 149, 237);
/* oklch */ color: oklch(76.5% 0.140 317.4);
Tailwind
colors: {
  custom: {
    50: '#e4b5f3',
    500: '#d795ed',
    950: '#000000',
  },
}
SCSS
$custom: #d795ed;
$custom-light: #e4b5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d795ed",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 237
  },
  "hsl": {
    "h": 285,
    "s": 70.968,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76516,
    "c": 0.14035,
    "h": 317.4
  },
  "luminance": 0.42056
}

Semantic roles & 50–950 ramp

primary
#D795ED
secondary
#DFF2D9
accent
#D31343
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D795ED

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

Preview Lab → · Contrast checker → · Palette generator →

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