#D795DB#D795DB

#D795DB is a light, vivid purple. Relative luminance 0.411; OKLCH L 75.8% C 0.121 H 324.7°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#D795DB
RGBrgb(215, 149, 219)
HSLhsl(297, 49%, 72%)
HSVhsv(297, 32%, 86%)
CMYKcmyk(1.8%, 32%, 0%, 14.1%)
CIE-LABlab(70.22, 36.15, -25.77)
CIE-LCHlch(70.22, 44.39, 324.52°)
OKLaboklab(75.76% 0.099 -0.07)
OKLCHoklch(75.76% 0.121 324.7)
XYZxyz(51.5566, 41.0582, 72.2133)
Luminance0.4106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795DB #99DB95
analogous
#B495DB #D795DB #DB95BC
triadic
#D795DB #DBD795 #95DBD7
tetradic
#D795DB #DBB495 #99DB95 #95BCDB
square
#D795DB #DBB495 #99DB95 #95BCDB
split-complementary
#D795DB #BCDB95 #95DBB4
monochromatic
#B03EB7 #C667CB #D795DB #E8C3EB #F6E8F7

Accessibility & contrast

On white

2.28
#D795DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#D795DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795DB
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795DB#FFFFFF#000000##000000
##D795DB1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d795db;
/* rgb */ color: rgb(215, 149, 219);
/* oklch */ color: oklch(75.8% 0.121 324.7);
Tailwind
colors: {
  custom: {
    50: '#e4b5e6',
    500: '#d795db',
    950: '#000000',
  },
}
SCSS
$custom: #d795db;
$custom-light: #e4b5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d795db",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 219
  },
  "hsl": {
    "h": 296.571,
    "s": 49.296,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75762,
    "c": 0.12124,
    "h": 324.7
  },
  "luminance": 0.41056
}

Semantic roles & 50–950 ramp

primary
#D795DB
secondary
#DEEEDD
accent
#BD2931
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D795DB

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

Preview Lab → · Contrast checker → · Palette generator →

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