#D795DD#D795DD

#D795DD is a light, vivid purple. Relative luminance 0.412; OKLCH L 75.8% C 0.123 H 323.8°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#D795DD
RGBrgb(215, 149, 221)
HSLhsl(295, 51%, 73%)
HSVhsv(295, 33%, 87%)
CMYKcmyk(2.7%, 32.6%, 0%, 13.3%)
CIE-LABlab(70.29, 36.53, -26.75)
CIE-LCHlch(70.29, 45.28, 323.78°)
OKLaboklab(75.84% 0.0995 -0.0728)
OKLCHoklch(75.84% 0.123 323.8)
XYZxyz(51.8215, 41.1641, 73.6083)
Luminance0.4116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795DD #9BDD95
analogous
#B395DD #D795DD #DD95BF
triadic
#D795DD #DDD795 #95DDD7
tetradic
#D795DD #DDB395 #9BDD95 #95BFDD
square
#D795DD #DDB395 #9BDD95 #95BFDD
split-complementary
#D795DD #BFDD95 #95DDB3
monochromatic
#B13CBB #C667CE #D795DD #E8C3EC #F6E8F8

Accessibility & contrast

On white

2.27
#D795DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#D795DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795DD
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795DD#FFFFFF#000000##000000
##D795DD1.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA7E0
Deuteranopia (green-blind)
#9EAFDB
Tritanopia (blue-blind)
#DA9CAF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d795dd;
/* rgb */ color: rgb(215, 149, 221);
/* oklch */ color: oklch(75.8% 0.123 323.8);
Tailwind
colors: {
  custom: {
    50: '#e4b5e7',
    500: '#d795dd',
    950: '#000000',
  },
}
SCSS
$custom: #d795dd;
$custom-light: #e4b5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d795dd",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 221
  },
  "hsl": {
    "h": 295,
    "s": 51.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75843,
    "c": 0.12328,
    "h": 323.8
  },
  "luminance": 0.41162
}

Semantic roles & 50–950 ramp

primary
#D795DD
secondary
#DEEFDC
accent
#BF2733
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D795DD

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

Preview Lab → · Contrast checker → · Palette generator →

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