#D795DF#D795DF

#D795DF is a light, vivid purple. Relative luminance 0.413; OKLCH L 75.9% C 0.125 H 322.9°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#D795DF
RGBrgb(215, 149, 223)
HSLhsl(294, 54%, 73%)
HSVhsv(294, 33%, 87%)
CMYKcmyk(3.6%, 33.2%, 0%, 12.5%)
CIE-LABlab(70.37, 36.91, -27.74)
CIE-LCHlch(70.37, 46.17, 323.07°)
OKLaboklab(75.92% 0.1 -0.0756)
OKLCHoklch(75.92% 0.125 322.9)
XYZxyz(52.0896, 41.2714, 75.0200)
Luminance0.4127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795DF #9DDF95
analogous
#B295DF #D795DF #DF95C2
triadic
#D795DF #DFD795 #95DFD7
tetradic
#D795DF #DFB295 #9DDF95 #95C2DF
square
#D795DF #DFB295 #9DDF95 #95C2DF
split-complementary
#D795DF #C2DF95 #95DFB2
monochromatic
#B13AC0 #C566D1 #D795DF #E9C4ED #F6E7F8

Accessibility & contrast

On white

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

On black

9.25
#D795DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795DF
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795DF#FFFFFF#000000##000000
##D795DF1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA7E2
Deuteranopia (green-blind)
#9EAFDD
Tritanopia (blue-blind)
#DA9DB0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d795df;
/* rgb */ color: rgb(215, 149, 223);
/* oklch */ color: oklch(75.9% 0.125 322.9);
Tailwind
colors: {
  custom: {
    50: '#e4b5e9',
    500: '#d795df',
    950: '#000000',
  },
}
SCSS
$custom: #d795df;
$custom-light: #e4b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d795df",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 223
  },
  "hsl": {
    "h": 293.514,
    "s": 53.623,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75924,
    "c": 0.12535,
    "h": 322.9
  },
  "luminance": 0.4127
}

Semantic roles & 50–950 ramp

primary
#D795DF
secondary
#DEEFDC
accent
#C12435
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D795DF

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

Preview Lab → · Contrast checker → · Palette generator →

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