#D790FD#D790FD

#D790FD is a light, vivid violet. Relative luminance 0.415; OKLCH L 76.4% C 0.166 H 313.0°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#D790FD
RGBrgb(215, 144, 253)
HSLhsl(279, 96%, 78%)
HSVhsv(279, 43%, 99%)
CMYKcmyk(15%, 43.1%, 0%, 0.8%)
CIE-LABlab(70.52, 45.57, -43.92)
CIE-LCHlch(70.52, 63.29, 316.05°)
OKLaboklab(76.44% 0.1135 -0.1218)
OKLCHoklch(76.44% 0.166 313)
XYZxyz(55.7242, 41.4866, 97.9817)
Luminance0.4148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D790FD #B6FD90
analogous
#A190FD #D790FD #FD90EC
triadic
#D790FD #FDD790 #90FDD7
tetradic
#D790FD #FDA190 #B6FD90 #90ECFD
square
#D790FD #FDA190 #B6FD90 #90ECFD
split-complementary
#D790FD #ECFD90 #90FDA1
monochromatic
#AC18FB #C154FC #D790FD #EDCCFE #F4E1FE

Accessibility & contrast

On white

2.26
#D790FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#D790FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D790FD
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D790FD#FFFFFF#000000##000000
##D790FD1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#8DAEFA
Tritanopia (blue-blind)
#D4A0BB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d790fd;
/* rgb */ color: rgb(215, 144, 253);
/* oklch */ color: oklch(76.4% 0.166 313.0);
Tailwind
colors: {
  custom: {
    50: '#e5b2fe',
    500: '#d790fd',
    950: '#000000',
  },
}
SCSS
$custom: #d790fd;
$custom-light: #e5b2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d790fd",
  "rgb": {
    "r": 215,
    "g": 144,
    "b": 253
  },
  "hsl": {
    "h": 279.083,
    "s": 96.46,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76441,
    "c": 0.16645,
    "h": 313
  },
  "luminance": 0.41485
}

Semantic roles & 50–950 ramp

primary
#D790FD
secondary
#E0F7D4
accent
#E60050
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D790FD

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

Preview Lab → · Contrast checker → · Palette generator →

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