#D795CF#D795CF

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

Color values

HEX#D795CF
RGBrgb(215, 149, 207)
HSLhsl(307, 45%, 71%)
HSVhsv(307, 31%, 84%)
CMYKcmyk(0%, 30.7%, 3.7%, 15.7%)
CIE-LABlab(69.79, 33.94, -19.79)
CIE-LCHlch(69.79, 39.29, 329.75°)
OKLaboklab(75.3% 0.0957 -0.0533)
OKLCHoklch(75.3% 0.11 330.9)
XYZxyz(50.0335, 40.4489, 64.1913)
Luminance0.4045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795CF #95D79D
analogous
#BE95D7 #D795CF #D795AE
triadic
#D795CF #CFD795 #95CFD7
tetradic
#D795CF #D7BE95 #95D79D #95AED7
square
#D795CF #D7BE95 #95D79D #95AED7
split-complementary
#D795CF #AED795 #95D7BE
monochromatic
#AF42A2 #C669BB #D795CF #E8C1E3 #F7E9F5

Accessibility & contrast

On white

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

On black

9.09
#D795CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795CF
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795CF#FFFFFF#000000##000000
##D795CF1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A5D1
Deuteranopia (green-blind)
#A3AECD
Tritanopia (blue-blind)
#DC99AA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d795cf;
/* rgb */ color: rgb(215, 149, 207);
/* oklch */ color: oklch(75.3% 0.110 330.9);
Tailwind
colors: {
  custom: {
    50: '#e4b5dd',
    500: '#d795cf',
    950: '#000000',
  },
}
SCSS
$custom: #d795cf;
$custom-light: #e4b5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d795cf",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 207
  },
  "hsl": {
    "h": 307.273,
    "s": 45.205,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75295,
    "c": 0.1095,
    "h": 330.9
  },
  "luminance": 0.40447
}

Semantic roles & 50–950 ramp

primary
#D795CF
secondary
#DBECDD
accent
#B83E2D
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D795CF

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

Preview Lab → · Contrast checker → · Palette generator →

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