#D792FC#D792FC

#D792FC is a light, vivid violet. Relative luminance 0.420; OKLCH L 76.7% C 0.162 H 313.0°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#D792FC
RGBrgb(215, 146, 252)
HSLhsl(279, 95%, 78%)
HSVhsv(279, 42%, 99%)
CMYKcmyk(14.7%, 42.1%, 0%, 1.2%)
CIE-LABlab(70.89, 44.30, -42.79)
CIE-LCHlch(70.89, 61.59, 315.99°)
OKLaboklab(76.71% 0.1105 -0.1185)
OKLCHoklch(76.71% 0.162 313)
XYZxyz(55.8710, 42.0343, 97.2468)
Luminance0.4203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D792FC #B7FC92
analogous
#A292FC #D792FC #FC92EC
triadic
#D792FC #FCD792 #92FCD7
tetradic
#D792FC #FCA292 #B7FC92 #92ECFC
square
#D792FC #FCA292 #B7FC92 #92ECFC
split-complementary
#D792FC #ECFC92 #92FCA2
monochromatic
#AB1BF9 #C156FA #D792FC #EDCEFE #F4E1FE

Accessibility & contrast

On white

2.23
#D792FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#D792FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D792FC
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D792FC#FFFFFF#000000##000000
##D792FC1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#8FAFF9
Tritanopia (blue-blind)
#D4A1BB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d792fc;
/* rgb */ color: rgb(215, 146, 252);
/* oklch */ color: oklch(76.7% 0.162 313.0);
Tailwind
colors: {
  custom: {
    50: '#e5b3fd',
    500: '#d792fc',
    950: '#000000',
  },
}
SCSS
$custom: #d792fc;
$custom-light: #e5b3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d792fc",
  "rgb": {
    "r": 215,
    "g": 146,
    "b": 252
  },
  "hsl": {
    "h": 279.057,
    "s": 94.643,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76711,
    "c": 0.16205,
    "h": 313
  },
  "luminance": 0.42033
}

Semantic roles & 50–950 ramp

primary
#D792FC
secondary
#E0F6D5
accent
#E60050
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D792FC

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

Preview Lab → · Contrast checker → · Palette generator →

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