#D792FB#D792FB

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

Color values

HEX#D792FB
RGBrgb(215, 146, 251)
HSLhsl(279, 93%, 78%)
HSVhsv(279, 42%, 98%)
CMYKcmyk(14.3%, 41.8%, 0%, 1.6%)
CIE-LABlab(70.85, 44.09, -42.31)
CIE-LCHlch(70.85, 61.11, 316.18°)
OKLaboklab(76.66% 0.1104 -0.1171)
OKLCHoklch(76.66% 0.161 313.3)
XYZxyz(55.7129, 41.9710, 96.4144)
Luminance0.4197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D792FB #B6FB92
analogous
#A392FB #D792FB #FB92EA
triadic
#D792FB #FBD792 #92FBD7
tetradic
#D792FB #FBA392 #B6FB92 #92EAFB
square
#D792FB #FBA392 #B6FB92 #92EAFB
split-complementary
#D792FB #EAFB92 #92FBA3
monochromatic
#AC1CF7 #C157F9 #D792FB #EDCDFD #F4E1FE

Accessibility & contrast

On white

2.24
#D792FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#D792FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D792FB
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D792FB#FFFFFF#000000##000000
##D792FB1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#90AFF8
Tritanopia (blue-blind)
#D4A1BB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d792fb;
/* rgb */ color: rgb(215, 146, 251);
/* oklch */ color: oklch(76.7% 0.161 313.3);
Tailwind
colors: {
  custom: {
    50: '#e5b3fd',
    500: '#d792fb',
    950: '#000000',
  },
}
SCSS
$custom: #d792fb;
$custom-light: #e5b3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d792fb",
  "rgb": {
    "r": 215,
    "g": 146,
    "b": 251
  },
  "hsl": {
    "h": 279.429,
    "s": 92.92,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76664,
    "c": 0.16094,
    "h": 313.3
  },
  "luminance": 0.4197
}

Semantic roles & 50–950 ramp

primary
#D792FB
secondary
#E0F6D5
accent
#E6004F
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D792FB

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

Preview Lab → · Contrast checker → · Palette generator →

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