#DC79EB#DC79EB

#DC79EB is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.7% C 0.187 H 322.2°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#DC79EB
RGBrgb(220, 121, 235)
HSLhsl(292, 74%, 70%)
HSVhsv(292, 49%, 92%)
CMYKcmyk(6.4%, 48.5%, 0%, 7.8%)
CIE-LABlab(65.66, 55.22, -41.61)
CIE-LCHlch(65.66, 69.14, 323.00°)
OKLaboklab(72.69% 0.1481 -0.1149)
OKLCHoklch(72.69% 0.187 322.2)
XYZxyz(51.3464, 34.8908, 82.6111)
Luminance0.3489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79EB #88EB79
analogous
#A379EB #DC79EB #EB79C1
triadic
#DC79EB #EBDC79 #79EBDC
tetradic
#DC79EB #EBA379 #88EB79 #79C1EB
square
#DC79EB #EBA379 #88EB79 #79C1EB
split-complementary
#DC79EB #C1EB79 #79EBA3
monochromatic
#B51ECB #CE44E3 #DC79EB #EAAEF3 #F8E4FB

Accessibility & contrast

On white

2.63
#DC79EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#DC79EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79EB
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79EB#FFFFFF#000000##000000
##DC79EB1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EF
Deuteranopia (green-blind)
#86A3E8
Tritanopia (blue-blind)
#DF88A7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc79eb;
/* rgb */ color: rgb(220, 121, 235);
/* oklch */ color: oklch(72.7% 0.187 322.2);
Tailwind
colors: {
  custom: {
    50: '#e9a3f2',
    500: '#dc79eb',
    950: '#000000',
  },
}
SCSS
$custom: #dc79eb;
$custom-light: #e9a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79eb",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 292.105,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72687,
    "c": 0.18741,
    "h": 322.2
  },
  "luminance": 0.34889
}

Semantic roles & 50–950 ramp

primary
#DC79EB
secondary
#D4F0D0
accent
#D60F2A
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC79EB

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

Preview Lab → · Contrast checker → · Palette generator →

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