#D792EF#D792EF

#D792EF is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.1% C 0.148 H 317.0°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#D792EF
RGBrgb(215, 146, 239)
HSLhsl(285, 74%, 75%)
HSVhsv(285, 39%, 94%)
CMYKcmyk(10%, 38.9%, 0%, 6.3%)
CIE-LABlab(70.34, 41.65, -36.55)
CIE-LCHlch(70.34, 55.41, 318.72°)
OKLaboklab(76.11% 0.1081 -0.1006)
OKLCHoklch(76.11% 0.148 317)
XYZxyz(53.8810, 41.2383, 86.7661)
Luminance0.4124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D792EF #AAEF92
analogous
#A892EF #D792EF #EF92D8
triadic
#D792EF #EFD792 #92EFD7
tetradic
#D792EF #EFA892 #AAEF92 #92D8EF
square
#D792EF #EFA892 #AAEF92 #92D8EF
split-complementary
#D792EF #D8EF92 #92EFA8
monochromatic
#B027DF #C35DE7 #D792EF #EBC7F7 #F5E4FB

Accessibility & contrast

On white

2.27
#D792EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#D792EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D792EF
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D792EF#FFFFFF#000000##000000
##D792EF1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F2
Deuteranopia (green-blind)
#95AEEC
Tritanopia (blue-blind)
#D79EB5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d792ef;
/* rgb */ color: rgb(215, 146, 239);
/* oklch */ color: oklch(76.1% 0.148 317.0);
Tailwind
colors: {
  custom: {
    50: '#e4b3f4',
    500: '#d792ef',
    950: '#000000',
  },
}
SCSS
$custom: #d792ef;
$custom-light: #e4b3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d792ef",
  "rgb": {
    "r": 215,
    "g": 146,
    "b": 239
  },
  "hsl": {
    "h": 284.516,
    "s": 74.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76114,
    "c": 0.14765,
    "h": 317
  },
  "luminance": 0.41237
}

Semantic roles & 50–950 ramp

primary
#D792EF
secondary
#DFF3D8
accent
#D70F42
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D792EF

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

Preview Lab → · Contrast checker → · Palette generator →

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