#D790FC#D790FC

#D790FC is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.4% C 0.165 H 313.3°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#D790FC
RGBrgb(215, 144, 252)
HSLhsl(279, 95%, 78%)
HSVhsv(279, 43%, 99%)
CMYKcmyk(14.7%, 42.9%, 0%, 1.2%)
CIE-LABlab(70.47, 45.36, -43.45)
CIE-LCHlch(70.47, 62.81, 316.23°)
OKLaboklab(76.39% 0.1133 -0.1204)
OKLCHoklch(76.39% 0.165 313.3)
XYZxyz(55.5654, 41.4231, 97.1449)
Luminance0.4142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D790FC #B5FC90
analogous
#A190FC #D790FC #FC90EB
triadic
#D790FC #FCD790 #90FCD7
tetradic
#D790FC #FCA190 #B5FC90 #90EBFC
square
#D790FC #FCA190 #B5FC90 #90EBFC
split-complementary
#D790FC #EBFC90 #90FCA1
monochromatic
#AC19F9 #C254FA #D790FC #ECCCFE #F4E1FE

Accessibility & contrast

On white

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

On black

9.28
#D790FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D790FC
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D790FC#FFFFFF#000000##000000
##D790FC1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FF
Deuteranopia (green-blind)
#8DAEF9
Tritanopia (blue-blind)
#D4A0BA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d790fc;
/* rgb */ color: rgb(215, 144, 252);
/* oklch */ color: oklch(76.4% 0.165 313.3);
Tailwind
colors: {
  custom: {
    50: '#e5b2fe',
    500: '#d790fc',
    950: '#000000',
  },
}
SCSS
$custom: #d790fc;
$custom-light: #e5b2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d790fc",
  "rgb": {
    "r": 215,
    "g": 144,
    "b": 252
  },
  "hsl": {
    "h": 279.444,
    "s": 94.737,
    "l": 77.647
  },
  "oklch": {
    "l": 0.76393,
    "c": 0.16534,
    "h": 313.3
  },
  "luminance": 0.41422
}

Semantic roles & 50–950 ramp

primary
#D790FC
secondary
#E0F6D5
accent
#E6004F
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D790FC

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

Preview Lab → · Contrast checker → · Palette generator →

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