#D790DC#D790DC

#D790DC is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.0% C 0.131 H 324.5°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#D790DC
RGBrgb(215, 144, 220)
HSLhsl(296, 52%, 71%)
HSVhsv(296, 35%, 86%)
CMYKcmyk(2.3%, 34.5%, 0%, 13.7%)
CIE-LABlab(69.16, 39.02, -27.94)
CIE-LCHlch(69.16, 47.99, 324.39°)
OKLaboklab(74.97% 0.1067 -0.0761)
OKLCHoklch(74.97% 0.131 324.5)
XYZxyz(50.9146, 39.5627, 72.6507)
Luminance0.3956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D790DC #95DC90
analogous
#B190DC #D790DC #DC90BB
triadic
#D790DC #DCD790 #90DCD7
tetradic
#D790DC #DCB190 #95DC90 #90BBDC
square
#D790DC #DCB190 #95DC90 #90BBDC
split-complementary
#D790DC #BBDC90 #90DCB1
monochromatic
#AF3AB8 #C661CD #D790DC #E8BFEB #F7E8F8

Accessibility & contrast

On white

2.36
#D790DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#D790DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D790DC
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D790DC#FFFFFF#000000##000000
##D790DC1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A3DF
Deuteranopia (green-blind)
#9BACD9
Tritanopia (blue-blind)
#DA98AC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d790dc;
/* rgb */ color: rgb(215, 144, 220);
/* oklch */ color: oklch(75.0% 0.131 324.5);
Tailwind
colors: {
  custom: {
    50: '#e4b1e7',
    500: '#d790dc',
    950: '#000000',
  },
}
SCSS
$custom: #d790dc;
$custom-light: #e4b1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d790dc",
  "rgb": {
    "r": 215,
    "g": 144,
    "b": 220
  },
  "hsl": {
    "h": 296.053,
    "s": 52.055,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74972,
    "c": 0.13103,
    "h": 324.5
  },
  "luminance": 0.39561
}

Semantic roles & 50–950 ramp

primary
#D790DC
secondary
#DBEEDA
accent
#BF2630
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D790DC

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

Preview Lab → · Contrast checker → · Palette generator →

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