#D790CD#D790CD

#D790CD is a light, moderate purple. Relative luminance 0.388; OKLCH L 74.4% C 0.117 H 331.8°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#D790CD
RGBrgb(215, 144, 205)
HSLhsl(308, 47%, 70%)
HSVhsv(308, 33%, 84%)
CMYKcmyk(0%, 33%, 4.7%, 15.7%)
CIE-LABlab(68.61, 36.27, -20.47)
CIE-LCHlch(68.61, 41.65, 330.56°)
OKLaboklab(74.38% 0.1027 -0.0551)
OKLCHoklch(74.38% 0.117 331.8)
XYZxyz(49.0164, 38.8035, 62.6537)
Luminance0.3880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D790CD #90D79A
analogous
#BE90D7 #D790CD #D790A9
triadic
#D790CD #CDD790 #90CDD7
tetradic
#D790CD #D7BE90 #90D79A #90A9D7
square
#D790CD #D7BE90 #90D79A #90A9D7
split-complementary
#D790CD #A9D790 #90D7BE
monochromatic
#AE3F9E #C763B9 #D790CD #E7BDE1 #F7E9F5

Accessibility & contrast

On white

2.40
#D790CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#D790CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D790CD
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D790CD#FFFFFF#000000##000000
##D790CD1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA1CF
Deuteranopia (green-blind)
#A0ABCB
Tritanopia (blue-blind)
#DD94A6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d790cd;
/* rgb */ color: rgb(215, 144, 205);
/* oklch */ color: oklch(74.4% 0.117 331.8);
Tailwind
colors: {
  custom: {
    50: '#e4b1dc',
    500: '#d790cd',
    950: '#000000',
  },
}
SCSS
$custom: #d790cd;
$custom-light: #e4b1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d790cd",
  "rgb": {
    "r": 215,
    "g": 144,
    "b": 205
  },
  "hsl": {
    "h": 308.451,
    "s": 47.02,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74376,
    "c": 0.11656,
    "h": 331.8
  },
  "luminance": 0.38801
}

Semantic roles & 50–950 ramp

primary
#D790CD
secondary
#D8EBDA
accent
#BA3F2B
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D790CD

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

Preview Lab → · Contrast checker → · Palette generator →

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