#D792FE#D792FE

#D792FE is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.8% C 0.164 H 312.4°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#D792FE
RGBrgb(215, 146, 254)
HSLhsl(278, 98%, 78%)
HSVhsv(278, 43%, 100%)
CMYKcmyk(15.4%, 42.5%, 0%, 0.4%)
CIE-LABlab(70.98, 44.72, -43.74)
CIE-LCHlch(70.98, 62.55, 315.63°)
OKLaboklab(76.81% 0.1109 -0.1212)
OKLCHoklch(76.81% 0.164 312.4)
XYZxyz(56.1896, 42.1617, 98.9247)
Luminance0.4216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D792FE #B9FE92
analogous
#A192FE #D792FE #FE92EF
triadic
#D792FE #FED792 #92FED7
tetradic
#D792FE #FEA192 #B9FE92 #92EFFE
square
#D792FE #FEA192 #B9FE92 #92EFFE
split-complementary
#D792FE #EFFE92 #92FEA1
monochromatic
#AA19FD #C155FD #D792FE #EDCFFF #F4E1FF

Accessibility & contrast

On white

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

On black

9.43
#D792FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D792FE
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D792FE#FFFFFF#000000##000000
##D792FE1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#8EAFFB
Tritanopia (blue-blind)
#D3A2BC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d792fe;
/* rgb */ color: rgb(215, 146, 254);
/* oklch */ color: oklch(76.8% 0.164 312.4);
Tailwind
colors: {
  custom: {
    50: '#e5b3ff',
    500: '#d792fe',
    950: '#000000',
  },
}
SCSS
$custom: #d792fe;
$custom-light: #e5b3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d792fe",
  "rgb": {
    "r": 215,
    "g": 146,
    "b": 254
  },
  "hsl": {
    "h": 278.333,
    "s": 98.182,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76805,
    "c": 0.1643,
    "h": 312.4
  },
  "luminance": 0.42161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D792FE

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

Preview Lab → · Contrast checker → · Palette generator →

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