#D790ED#D790ED

#D790ED is a light, vivid purple. Relative luminance 0.405; OKLCH L 75.7% C 0.149 H 317.9°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#D790ED
RGBrgb(215, 144, 237)
HSLhsl(286, 72%, 75%)
HSVhsv(286, 39%, 93%)
CMYKcmyk(9.3%, 39.2%, 0%, 7.1%)
CIE-LABlab(69.83, 42.31, -36.25)
CIE-LCHlch(69.83, 55.72, 319.41°)
OKLaboklab(75.7% 0.1105 -0.0997)
OKLCHoklch(75.7% 0.149 317.9)
XYZxyz(53.2815, 40.5095, 85.1167)
Luminance0.4051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D790ED #A6ED90
analogous
#A890ED #D790ED #ED90D5
triadic
#D790ED #EDD790 #90EDD7
tetradic
#D790ED #EDA890 #A6ED90 #90D5ED
square
#D790ED #EDA890 #A6ED90 #90D5ED
split-complementary
#D790ED #D5ED90 #90EDA8
monochromatic
#B127DC #C45BE4 #D790ED #EAC5F6 #F6E5FB

Accessibility & contrast

On white

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

On black

9.10
#D790ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D790ED
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D790ED#FFFFFF#000000##000000
##D790ED1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A6F0
Deuteranopia (green-blind)
#94ADEA
Tritanopia (blue-blind)
#D79CB3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d790ed;
/* rgb */ color: rgb(215, 144, 237);
/* oklch */ color: oklch(75.7% 0.149 317.9);
Tailwind
colors: {
  custom: {
    50: '#e5b2f3',
    500: '#d790ed',
    950: '#000000',
  },
}
SCSS
$custom: #d790ed;
$custom-light: #e5b2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d790ed",
  "rgb": {
    "r": 215,
    "g": 144,
    "b": 237
  },
  "hsl": {
    "h": 285.806,
    "s": 72.093,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75702,
    "c": 0.14886,
    "h": 317.9
  },
  "luminance": 0.40508
}

Semantic roles & 50–950 ramp

primary
#D790ED
secondary
#DFF2D9
accent
#D4113F
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D790ED

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

Preview Lab → · Contrast checker → · Palette generator →

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