#D795DC#D795DC

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

Color values

HEX#D795DC
RGBrgb(215, 149, 220)
HSLhsl(296, 50%, 72%)
HSVhsv(296, 32%, 86%)
CMYKcmyk(2.3%, 32.3%, 0%, 13.7%)
CIE-LABlab(70.25, 36.34, -26.26)
CIE-LCHlch(70.25, 44.83, 324.15°)
OKLaboklab(75.8% 0.0993 -0.0714)
OKLCHoklch(75.8% 0.122 324.3)
XYZxyz(51.6887, 41.1110, 72.9087)
Luminance0.4111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795DC #9ADC95
analogous
#B495DC #D795DC #DC95BD
triadic
#D795DC #DCD795 #95DCD7
tetradic
#D795DC #DCB495 #9ADC95 #95BDDC
square
#D795DC #DCB495 #9ADC95 #95BDDC
split-complementary
#D795DC #BDDC95 #95DCB4
monochromatic
#B13DB9 #C667CD #D795DC #E8C3EB #F6E8F7

Accessibility & contrast

On white

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

On black

9.22
#D795DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795DC
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795DC#FFFFFF#000000##000000
##D795DC1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d795dc;
/* rgb */ color: rgb(215, 149, 220);
/* oklch */ color: oklch(75.8% 0.122 324.3);
Tailwind
colors: {
  custom: {
    50: '#e4b5e7',
    500: '#d795dc',
    950: '#000000',
  },
}
SCSS
$custom: #d795dc;
$custom-light: #e4b5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d795dc",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 220
  },
  "hsl": {
    "h": 295.775,
    "s": 50.355,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75803,
    "c": 0.12226,
    "h": 324.3
  },
  "luminance": 0.41109
}

Semantic roles & 50–950 ramp

primary
#D795DC
secondary
#DEEEDD
accent
#BE2832
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D795DC

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

Preview Lab → · Contrast checker → · Palette generator →

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