#D790FF#D790FF

#D790FF is a light, vivid violet. Relative luminance 0.416; OKLCH L 76.5% C 0.169 H 312.4°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#D790FF
RGBrgb(215, 144, 255)
HSLhsl(278, 100%, 78%)
HSVhsv(278, 44%, 100%)
CMYKcmyk(15.7%, 43.5%, 0%, 0%)
CIE-LABlab(70.60, 45.98, -44.87)
CIE-LCHlch(70.60, 64.25, 315.70°)
OKLaboklab(76.54% 0.1138 -0.1245)
OKLCHoklch(76.54% 0.169 312.4)
XYZxyz(56.0445, 41.6147, 99.6684)
Luminance0.4161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D790FF #B8FF90
analogous
#9F90FF #D790FF #FF90F0
triadic
#D790FF #FFD790 #90FFD7
tetradic
#D790FF #FF9F90 #B8FF90 #90F0FF
square
#D790FF #FF9F90 #B8FF90 #90F0FF
split-complementary
#D790FF #F0FF90 #90FF9F
monochromatic
#AB16FF #C153FF #D790FF #EDCDFF #F4E0FF

Accessibility & contrast

On white

2.25
#D790FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#D790FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D790FF
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D790FF#FFFFFF#000000##000000
##D790FF1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A9FF
Deuteranopia (green-blind)
#8CAEFC
Tritanopia (blue-blind)
#D3A0BC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d790ff;
/* rgb */ color: rgb(215, 144, 255);
/* oklch */ color: oklch(76.5% 0.169 312.4);
Tailwind
colors: {
  custom: {
    50: '#e5b2ff',
    500: '#d790ff',
    950: '#000000',
  },
}
SCSS
$custom: #d790ff;
$custom-light: #e5b2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d790ff",
  "rgb": {
    "r": 215,
    "g": 144,
    "b": 255
  },
  "hsl": {
    "h": 278.378,
    "s": 100,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76536,
    "c": 0.16869,
    "h": 312.4
  },
  "luminance": 0.41614
}

Semantic roles & 50–950 ramp

primary
#D790FF
secondary
#E1F7D4
accent
#E60053
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D790FF

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

Preview Lab → · Contrast checker → · Palette generator →

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