#DC79F2#DC79F2

#DC79F2 is a light, vivid purple. Relative luminance 0.353; OKLCH L 73.0% C 0.194 H 320.1°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#DC79F2
RGBrgb(220, 121, 242)
HSLhsl(289, 82%, 71%)
HSVhsv(289, 50%, 95%)
CMYKcmyk(9.1%, 50%, 0%, 5.1%)
CIE-LABlab(65.98, 56.55, -44.97)
CIE-LCHlch(65.98, 72.25, 321.50°)
OKLaboklab(73.03% 0.149 -0.1246)
OKLCHoklch(73.03% 0.194 320.1)
XYZxyz(52.3776, 35.3033, 88.0424)
Luminance0.3530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79F2 #8FF279
analogous
#9F79F2 #DC79F2 #F279CB
triadic
#DC79F2 #F2DC79 #79F2DC
tetradic
#DC79F2 #F29F79 #8FF279 #79CBF2
square
#DC79F2 #F29F79 #8FF279 #79CBF2
split-complementary
#DC79F2 #CBF279 #79F29F
monochromatic
#B715DB #CD41ED #DC79F2 #EBB1F7 #F8E3FC

Accessibility & contrast

On white

2.61
#DC79F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#DC79F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79F2
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79F2#FFFFFF#000000##000000
##DC79F21.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#82A4EF
Tritanopia (blue-blind)
#DD8AAB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc79f2;
/* rgb */ color: rgb(220, 121, 242);
/* oklch */ color: oklch(73.0% 0.194 320.1);
Tailwind
colors: {
  custom: {
    50: '#e9a3f7',
    500: '#dc79f2',
    950: '#000000',
  },
}
SCSS
$custom: #dc79f2;
$custom-light: #e9a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79f2",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 289.091,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73029,
    "c": 0.19421,
    "h": 320.1
  },
  "luminance": 0.35301
}

Semantic roles & 50–950 ramp

primary
#DC79F2
secondary
#D9F3D3
accent
#DF072E
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC79F2

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

Preview Lab → · Contrast checker → · Palette generator →

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