#D795CE#D795CE

#D795CE is a light, moderate purple. Relative luminance 0.404; OKLCH L 75.3% C 0.109 H 331.5°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#D795CE
RGBrgb(215, 149, 206)
HSLhsl(308, 45%, 71%)
HSVhsv(308, 31%, 84%)
CMYKcmyk(0%, 30.7%, 4.2%, 15.7%)
CIE-LABlab(69.75, 33.76, -19.29)
CIE-LCHlch(69.75, 38.88, 330.26°)
OKLaboklab(75.26% 0.0954 -0.0519)
OKLCHoklch(75.26% 0.109 331.5)
XYZxyz(49.9116, 40.4002, 63.5495)
Luminance0.4040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795CE #95D79E
analogous
#BF95D7 #D795CE #D795AD
triadic
#D795CE #CED795 #95CED7
tetradic
#D795CE #D7BF95 #95D79E #95ADD7
square
#D795CE #D7BF95 #95D79E #95ADD7
split-complementary
#D795CE #ADD795 #95D7BF
monochromatic
#AF42A1 #C669B9 #D795CE #E8C1E3 #F7E9F5

Accessibility & contrast

On white

2.31
#D795CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#D795CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795CE
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795CE#FFFFFF#000000##000000
##D795CE1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A5D0
Deuteranopia (green-blind)
#A3AECC
Tritanopia (blue-blind)
#DD99A9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d795ce;
/* rgb */ color: rgb(215, 149, 206);
/* oklch */ color: oklch(75.3% 0.109 331.5);
Tailwind
colors: {
  custom: {
    50: '#e4b5dd',
    500: '#d795ce',
    950: '#000000',
  },
}
SCSS
$custom: #d795ce;
$custom-light: #e4b5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d795ce",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 206
  },
  "hsl": {
    "h": 308.182,
    "s": 45.205,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75258,
    "c": 0.10858,
    "h": 331.5
  },
  "luminance": 0.40398
}

Semantic roles & 50–950 ramp

primary
#D795CE
secondary
#DBECDE
accent
#B8402D
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D795CE

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

Preview Lab → · Contrast checker → · Palette generator →

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