#D790EF#D790EF

#D790EF is a light, vivid purple. Relative luminance 0.406; OKLCH L 75.8% C 0.151 H 317.3°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#D790EF
RGBrgb(215, 144, 239)
HSLhsl(285, 75%, 75%)
HSVhsv(285, 40%, 94%)
CMYKcmyk(10%, 39.7%, 0%, 6.3%)
CIE-LABlab(69.91, 42.71, -37.22)
CIE-LCHlch(69.91, 56.65, 318.93°)
OKLaboklab(75.79% 0.1109 -0.1025)
OKLCHoklch(75.79% 0.151 317.3)
XYZxyz(53.5753, 40.6270, 86.6642)
Luminance0.4063 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D790EF #A8EF90
analogous
#A790EF #D790EF #EF90D8
triadic
#D790EF #EFD790 #90EFD7
tetradic
#D790EF #EFA790 #A8EF90 #90D8EF
square
#D790EF #EFA790 #A8EF90 #90D8EF
split-complementary
#D790EF #D8EF90 #90EFA7
monochromatic
#B025E0 #C45BE7 #D790EF #EAC5F7 #F5E4FB

Accessibility & contrast

On white

2.30
#D790EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#D790EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D790EF
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D790EF#FFFFFF#000000##000000
##D790EF1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A6F2
Deuteranopia (green-blind)
#93ADEC
Tritanopia (blue-blind)
#D79CB4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d790ef;
/* rgb */ color: rgb(215, 144, 239);
/* oklch */ color: oklch(75.8% 0.151 317.3);
Tailwind
colors: {
  custom: {
    50: '#e5b2f4',
    500: '#d790ef',
    950: '#000000',
  },
}
SCSS
$custom: #d790ef;
$custom-light: #e5b2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d790ef",
  "rgb": {
    "r": 215,
    "g": 144,
    "b": 239
  },
  "hsl": {
    "h": 284.842,
    "s": 74.803,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75792,
    "c": 0.15102,
    "h": 317.3
  },
  "luminance": 0.40626
}

Semantic roles & 50–950 ramp

primary
#D790EF
secondary
#DFF3D8
accent
#D70F41
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D790EF

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

Preview Lab → · Contrast checker → · Palette generator →

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