#DC79FB#DC79FB

#DC79FB is a light, highly saturated purple. Relative luminance 0.359; OKLCH L 73.5% C 0.203 H 317.6°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#DC79FB
RGBrgb(220, 121, 251)
HSLhsl(286, 94%, 73%)
HSVhsv(286, 52%, 98%)
CMYKcmyk(12.4%, 51.8%, 0%, 1.6%)
CIE-LABlab(66.41, 58.29, -49.25)
CIE-LCHlch(66.41, 76.31, 319.81°)
OKLaboklab(73.48% 0.15 -0.1369)
OKLCHoklch(73.48% 0.203 317.6)
XYZxyz(53.7627, 35.8573, 95.3372)
Luminance0.3585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79FB #98FB79
analogous
#9B79FB #DC79FB #FB79D9
triadic
#DC79FB #FBDC79 #79FBDC
tetradic
#DC79FB #FB9B79 #98FB79 #79D9FB
square
#DC79FB #FB9B79 #98FB79 #79D9FB
split-complementary
#DC79FB #D9FB79 #79FB9B
monochromatic
#BA07F2 #CC3EF9 #DC79FB #ECB4FD #F7E1FE

Accessibility & contrast

On white

2.57
#DC79FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#DC79FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79FB
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79FB#FFFFFF#000000##000000
##DC79FB1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#7EA5F8
Tritanopia (blue-blind)
#DB8CAF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc79fb;
/* rgb */ color: rgb(220, 121, 251);
/* oklch */ color: oklch(73.5% 0.203 317.6);
Tailwind
colors: {
  custom: {
    50: '#e9a3fd',
    500: '#dc79fb',
    950: '#000000',
  },
}
SCSS
$custom: #dc79fb;
$custom-light: #e9a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79fb",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 285.692,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73483,
    "c": 0.20309,
    "h": 317.6
  },
  "luminance": 0.35855
}

Semantic roles & 50–950 ramp

primary
#DC79FB
secondary
#DDF6D5
accent
#E60037
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DC79FB

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

Preview Lab → · Contrast checker → · Palette generator →

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