#D792F2#D792F2

#D792F2 is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.2% C 0.151 H 316.1°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#D792F2
RGBrgb(215, 146, 242)
HSLhsl(283, 79%, 76%)
HSVhsv(283, 40%, 95%)
CMYKcmyk(11.2%, 39.7%, 0%, 5.1%)
CIE-LABlab(70.47, 42.25, -38.00)
CIE-LCHlch(70.47, 56.83, 318.03°)
OKLaboklab(76.25% 0.1087 -0.1047)
OKLCHoklch(76.25% 0.151 316.1)
XYZxyz(54.3278, 41.4170, 89.1196)
Luminance0.4142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D792F2 #ADF292
analogous
#A792F2 #D792F2 #F292DD
triadic
#D792F2 #F2D792 #92F2D7
tetradic
#D792F2 #F2A792 #ADF292 #92DDF2
square
#D792F2 #F2A792 #ADF292 #92DDF2
split-complementary
#D792F2 #DDF292 #92F2A7
monochromatic
#AF25E5 #C35BEB #D792F2 #EBC9F9 #F5E4FC

Accessibility & contrast

On white

2.26
#D792F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#D792F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D792F2
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D792F2#FFFFFF#000000##000000
##D792F21.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A8F6
Deuteranopia (green-blind)
#94AEEF
Tritanopia (blue-blind)
#D69FB7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d792f2;
/* rgb */ color: rgb(215, 146, 242);
/* oklch */ color: oklch(76.2% 0.151 316.1);
Tailwind
colors: {
  custom: {
    50: '#e5b3f6',
    500: '#d792f2',
    950: '#000000',
  },
}
SCSS
$custom: #d792f2;
$custom-light: #e5b3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d792f2",
  "rgb": {
    "r": 215,
    "g": 146,
    "b": 242
  },
  "hsl": {
    "h": 283.125,
    "s": 78.689,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76249,
    "c": 0.15094,
    "h": 316.1
  },
  "luminance": 0.41416
}

Semantic roles & 50–950 ramp

primary
#D792F2
secondary
#DFF4D7
accent
#DB0B45
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #D792F2

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

Preview Lab → · Contrast checker → · Palette generator →

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