#D790CF#D790CF

#D790CF is a light, moderate purple. Relative luminance 0.389; OKLCH L 74.5% C 0.118 H 330.7°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#D790CF
RGBrgb(215, 144, 207)
HSLhsl(307, 47%, 70%)
HSVhsv(307, 33%, 84%)
CMYKcmyk(0%, 33%, 3.7%, 15.7%)
CIE-LABlab(68.68, 36.63, -21.48)
CIE-LCHlch(68.68, 42.46, 329.61°)
OKLaboklab(74.45% 0.1033 -0.0579)
OKLCHoklch(74.45% 0.118 330.7)
XYZxyz(49.2593, 38.9006, 63.9332)
Luminance0.3890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D790CF #90D798
analogous
#BC90D7 #D790CF #D790AB
triadic
#D790CF #CFD790 #90CFD7
tetradic
#D790CF #D7BC90 #90D798 #90ABD7
square
#D790CF #D7BC90 #90D798 #90ABD7
split-complementary
#D790CF #ABD790 #90D7BC
monochromatic
#AE3FA1 #C763BC #D790CF #E7BDE2 #F7E9F5

Accessibility & contrast

On white

2.39
#D790CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#D790CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D790CF
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D790CF#FFFFFF#000000##000000
##D790CF1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA2D1
Deuteranopia (green-blind)
#9FABCD
Tritanopia (blue-blind)
#DD95A7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d790cf;
/* rgb */ color: rgb(215, 144, 207);
/* oklch */ color: oklch(74.5% 0.118 330.7);
Tailwind
colors: {
  custom: {
    50: '#e4b1dd',
    500: '#d790cf',
    950: '#000000',
  },
}
SCSS
$custom: #d790cf;
$custom-light: #e4b1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d790cf",
  "rgb": {
    "r": 215,
    "g": 144,
    "b": 207
  },
  "hsl": {
    "h": 306.761,
    "s": 47.02,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74453,
    "c": 0.11839,
    "h": 330.7
  },
  "luminance": 0.38899
}

Semantic roles & 50–950 ramp

primary
#D790CF
secondary
#D8EBDA
accent
#BA3B2B
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D790CF

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

Preview Lab → · Contrast checker → · Palette generator →

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