#DE79F2#DE79F2

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

Color values

HEX#DE79F2
RGBrgb(222, 121, 242)
HSLhsl(290, 82%, 71%)
HSVhsv(290, 50%, 95%)
CMYKcmyk(8.3%, 50%, 0%, 5.1%)
CIE-LABlab(66.23, 57.08, -44.58)
CIE-LCHlch(66.23, 72.43, 322.01°)
OKLaboklab(73.26% 0.1513 -0.1234)
OKLCHoklch(73.26% 0.195 320.8)
XYZxyz(52.9867, 35.6173, 88.0709)
Luminance0.3562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE79F2 #8DF279
analogous
#A179F2 #DE79F2 #F279C9
triadic
#DE79F2 #F2DE79 #79F2DE
tetradic
#DE79F2 #F2A179 #8DF279 #79C9F2
square
#DE79F2 #F2A179 #8DF279 #79C9F2
split-complementary
#DE79F2 #C9F279 #79F2A1
monochromatic
#BB15DB #D041ED #DE79F2 #ECB1F7 #F8E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DE79F2#FFFFFF#000000##000000
##DE79F21.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)
#659AF6
Deuteranopia (green-blind)
#84A5EF
Tritanopia (blue-blind)
#E089AB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #de79f2;
/* rgb */ color: rgb(222, 121, 242);
/* oklch */ color: oklch(73.3% 0.195 320.8);
Tailwind
colors: {
  custom: {
    50: '#eaa3f7',
    500: '#de79f2',
    950: '#000000',
  },
}
SCSS
$custom: #de79f2;
$custom-light: #eaa3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#de79f2",
  "rgb": {
    "r": 222,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 290.083,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7326,
    "c": 0.19521,
    "h": 320.8
  },
  "luminance": 0.35615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DE79F2

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

Preview Lab → · Contrast checker → · Palette generator →

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