#D792F9#D792F9

#D792F9 is a light, vivid purple. Relative luminance 0.418; OKLCH L 76.6% C 0.159 H 313.9°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#D792F9
RGBrgb(215, 146, 249)
HSLhsl(280, 90%, 77%)
HSVhsv(280, 41%, 98%)
CMYKcmyk(13.7%, 41.4%, 0%, 2.4%)
CIE-LABlab(70.76, 43.68, -41.36)
CIE-LCHlch(70.76, 60.15, 316.56°)
OKLaboklab(76.57% 0.11 -0.1144)
OKLCHoklch(76.57% 0.159 313.9)
XYZxyz(55.3993, 41.8456, 94.7628)
Luminance0.4184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D792F9 #B4F992
analogous
#A392F9 #D792F9 #F992E8
triadic
#D792F9 #F9D792 #92F9D7
tetradic
#D792F9 #F9A392 #B4F992 #92E8F9
square
#D792F9 #F9A392 #B4F992 #92E8F9
split-complementary
#D792F9 #E8F992 #92F9A3
monochromatic
#AC1EF3 #C258F6 #D792F9 #ECCCFC #F4E2FD

Accessibility & contrast

On white

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

On black

9.37
#D792F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D792F9
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D792F9#FFFFFF#000000##000000
##D792F91.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA9FD
Deuteranopia (green-blind)
#91AFF6
Tritanopia (blue-blind)
#D4A1BA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d792f9;
/* rgb */ color: rgb(215, 146, 249);
/* oklch */ color: oklch(76.6% 0.159 313.9);
Tailwind
colors: {
  custom: {
    50: '#e5b3fb',
    500: '#d792f9',
    950: '#000000',
  },
}
SCSS
$custom: #d792f9;
$custom-light: #e5b3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d792f9",
  "rgb": {
    "r": 215,
    "g": 146,
    "b": 249
  },
  "hsl": {
    "h": 280.194,
    "s": 89.565,
    "l": 77.451
  },
  "oklch": {
    "l": 0.7657,
    "c": 0.1587,
    "h": 313.9
  },
  "luminance": 0.41844
}

Semantic roles & 50–950 ramp

primary
#D792F9
secondary
#E0F5D6
accent
#E6004C
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D792F9

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

Preview Lab → · Contrast checker → · Palette generator →

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