#D792FD#D792FD

#D792FD is a light, vivid violet. Relative luminance 0.421; OKLCH L 76.8% C 0.163 H 312.7°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#D792FD
RGBrgb(215, 146, 253)
HSLhsl(279, 96%, 78%)
HSVhsv(279, 42%, 99%)
CMYKcmyk(15%, 42.3%, 0%, 0.8%)
CIE-LABlab(70.94, 44.51, -43.26)
CIE-LCHlch(70.94, 62.07, 315.81°)
OKLaboklab(76.76% 0.1107 -0.1199)
OKLCHoklch(76.76% 0.163 312.7)
XYZxyz(56.0298, 42.0978, 98.0836)
Luminance0.4210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D792FD #B8FD92
analogous
#A192FD #D792FD #FD92ED
triadic
#D792FD #FDD792 #92FDD7
tetradic
#D792FD #FDA192 #B8FD92 #92EDFD
square
#D792FD #FDA192 #B8FD92 #92EDFD
split-complementary
#D792FD #EDFD92 #92FDA1
monochromatic
#AB1AFB #C156FC #D792FD #EDCEFE #F4E1FE

Accessibility & contrast

On white

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

On black

9.42
#D792FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D792FD
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D792FD#FFFFFF#000000##000000
##D792FD1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#8FAFFA
Tritanopia (blue-blind)
#D4A2BC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d792fd;
/* rgb */ color: rgb(215, 146, 253);
/* oklch */ color: oklch(76.8% 0.163 312.7);
Tailwind
colors: {
  custom: {
    50: '#e5b3fe',
    500: '#d792fd',
    950: '#000000',
  },
}
SCSS
$custom: #d792fd;
$custom-light: #e5b3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d792fd",
  "rgb": {
    "r": 215,
    "g": 146,
    "b": 253
  },
  "hsl": {
    "h": 278.692,
    "s": 96.396,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76758,
    "c": 0.16318,
    "h": 312.7
  },
  "luminance": 0.42097
}

Semantic roles & 50–950 ramp

primary
#D792FD
secondary
#E1F7D4
accent
#E60052
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D792FD

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

Preview Lab → · Contrast checker → · Palette generator →

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