#D790EB#D790EB

#D790EB is a light, vivid purple. Relative luminance 0.404; OKLCH L 75.6% C 0.147 H 318.6°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#D790EB
RGBrgb(215, 144, 235)
HSLhsl(287, 69%, 74%)
HSVhsv(287, 39%, 92%)
CMYKcmyk(8.5%, 38.7%, 0%, 7.8%)
CIE-LABlab(69.75, 41.91, -35.29)
CIE-LCHlch(69.75, 54.79, 319.91°)
OKLaboklab(75.61% 0.1101 -0.097)
OKLCHoklch(75.61% 0.147 318.6)
XYZxyz(52.9910, 40.3933, 83.5864)
Luminance0.4039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D790EB #A4EB90
analogous
#AA90EB #D790EB #EB90D2
triadic
#D790EB #EBD790 #90EBD7
tetradic
#D790EB #EBAA90 #A4EB90 #90D2EB
square
#D790EB #EBAA90 #A4EB90 #90D2EB
split-complementary
#D790EB #D2EB90 #90EBAA
monochromatic
#B228D8 #C45CE2 #D790EB #EAC4F4 #F6E5FA

Accessibility & contrast

On white

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

On black

9.08
#D790EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D790EB
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D790EB#FFFFFF#000000##000000
##D790EB1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A6EE
Deuteranopia (green-blind)
#95ADE8
Tritanopia (blue-blind)
#D89BB3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d790eb;
/* rgb */ color: rgb(215, 144, 235);
/* oklch */ color: oklch(75.6% 0.147 318.6);
Tailwind
colors: {
  custom: {
    50: '#e4b2f1',
    500: '#d790eb',
    950: '#000000',
  },
}
SCSS
$custom: #d790eb;
$custom-light: #e4b2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d790eb",
  "rgb": {
    "r": 215,
    "g": 144,
    "b": 235
  },
  "hsl": {
    "h": 286.813,
    "s": 69.466,
    "l": 74.314
  },
  "oklch": {
    "l": 0.75613,
    "c": 0.14671,
    "h": 318.6
  },
  "luminance": 0.40392
}

Semantic roles & 50–950 ramp

primary
#D790EB
secondary
#DFF2D9
accent
#D1143E
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D790EB

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

Preview Lab → · Contrast checker → · Palette generator →

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