#DC79F7#DC79F7

#DC79F7 is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.3% C 0.199 H 318.7°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#DC79F7
RGBrgb(220, 121, 247)
HSLhsl(287, 89%, 72%)
HSVhsv(287, 51%, 97%)
CMYKcmyk(10.9%, 51%, 0%, 3.1%)
CIE-LABlab(66.22, 57.51, -47.36)
CIE-LCHlch(66.22, 74.50, 320.53°)
OKLaboklab(73.28% 0.1496 -0.1314)
OKLCHoklch(73.28% 0.199 318.7)
XYZxyz(53.1388, 35.6078, 92.0515)
Luminance0.3561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79F7 #94F779
analogous
#9D79F7 #DC79F7 #F779D3
triadic
#DC79F7 #F7DC79 #79F7DC
tetradic
#DC79F7 #F79D79 #94F779 #79D3F7
square
#DC79F7 #F79D79 #94F779 #79D3F7
split-complementary
#DC79F7 #D3F779 #79F79D
monochromatic
#B90EE8 #CD3FF4 #DC79F7 #EBB3FA #F7E2FD

Accessibility & contrast

On white

2.59
#DC79F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#DC79F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79F7
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79F7#FFFFFF#000000##000000
##DC79F71.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFB
Deuteranopia (green-blind)
#80A4F4
Tritanopia (blue-blind)
#DC8BAD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc79f7;
/* rgb */ color: rgb(220, 121, 247);
/* oklch */ color: oklch(73.3% 0.199 318.7);
Tailwind
colors: {
  custom: {
    50: '#e9a3fa',
    500: '#dc79f7',
    950: '#000000',
  },
}
SCSS
$custom: #dc79f7;
$custom-light: #e9a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79f7",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 247
  },
  "hsl": {
    "h": 287.143,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73279,
    "c": 0.19912,
    "h": 318.7
  },
  "luminance": 0.35606
}

Semantic roles & 50–950 ramp

primary
#DC79F7
secondary
#DCF5D6
accent
#E50031
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC79F7

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

Preview Lab → · Contrast checker → · Palette generator →

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