#D790EA#D790EA

#D790EA is a light, vivid purple. Relative luminance 0.403; OKLCH L 75.6% C 0.146 H 319.0°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#D790EA
RGBrgb(215, 144, 234)
HSLhsl(287, 68%, 74%)
HSVhsv(287, 38%, 92%)
CMYKcmyk(8.1%, 38.5%, 0%, 8.2%)
CIE-LABlab(69.71, 41.72, -34.80)
CIE-LCHlch(69.71, 54.33, 320.16°)
OKLaboklab(75.57% 0.1099 -0.0956)
OKLCHoklch(75.57% 0.146 319)
XYZxyz(52.8469, 40.3357, 82.8277)
Luminance0.4033 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D790EA #A3EA90
analogous
#AA90EA #D790EA #EA90D0
triadic
#D790EA #EAD790 #90EAD7
tetradic
#D790EA #EAAA90 #A3EA90 #90D0EA
square
#D790EA #EAAA90 #A3EA90 #90D0EA
split-complementary
#D790EA #D0EA90 #90EAAA
monochromatic
#B229D7 #C45DE0 #D790EA #EAC3F4 #F6E5FA

Accessibility & contrast

On white

2.32
#D790EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#D790EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D790EA
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D790EA#FFFFFF#000000##000000
##D790EA1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A5ED
Deuteranopia (green-blind)
#95ADE7
Tritanopia (blue-blind)
#D89BB2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d790ea;
/* rgb */ color: rgb(215, 144, 234);
/* oklch */ color: oklch(75.6% 0.146 319.0);
Tailwind
colors: {
  custom: {
    50: '#e4b2f1',
    500: '#d790ea',
    950: '#000000',
  },
}
SCSS
$custom: #d790ea;
$custom-light: #e4b2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d790ea",
  "rgb": {
    "r": 215,
    "g": 144,
    "b": 234
  },
  "hsl": {
    "h": 287.333,
    "s": 68.182,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75569,
    "c": 0.14563,
    "h": 319
  },
  "luminance": 0.40334
}

Semantic roles & 50–950 ramp

primary
#D790EA
secondary
#DEF2D9
accent
#D0153D
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D790EA

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

Preview Lab → · Contrast checker → · Palette generator →

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