#D079FC#D079FC

#D079FC is a light, vivid violet. Relative luminance 0.341; OKLCH L 72.2% C 0.199 H 313.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#D079FC
RGBrgb(208, 121, 252)
HSLhsl(280, 96%, 73%)
HSVhsv(280, 52%, 99%)
CMYKcmyk(17.5%, 52%, 0%, 1.2%)
CIE-LABlab(65.05, 55.38, -52.04)
CIE-LCHlch(65.05, 75.99, 316.78°)
OKLaboklab(72.19% 0.1361 -0.1453)
OKLCHoklch(72.19% 0.199 313.1)
XYZxyz(50.4175, 34.1142, 96.0054)
Luminance0.3411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D079FC #A5FC79
analogous
#8E79FC #D079FC #FC79E7
triadic
#D079FC #FCD079 #79FCD0
tetradic
#D079FC #FC8E79 #A5FC79 #79E7FC
square
#D079FC #FC8E79 #A5FC79 #79E7FC
split-complementary
#D079FC #E7FC79 #79FC8E
monochromatic
#A505F5 #BB3DFB #D079FC #E5B5FD #F5E1FE

Accessibility & contrast

On white

2.68
#D079FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#D079FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D079FC
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D079FC#FFFFFF#000000##000000
##D079FC1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#74A0F9
Tritanopia (blue-blind)
#CC8EAF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d079fc;
/* rgb */ color: rgb(208, 121, 252);
/* oklch */ color: oklch(72.2% 0.199 313.1);
Tailwind
colors: {
  custom: {
    50: '#e1a2fe',
    500: '#d079fc',
    950: '#000000',
  },
}
SCSS
$custom: #d079fc;
$custom-light: #e1a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d079fc",
  "rgb": {
    "r": 208,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 279.847,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72192,
    "c": 0.19909,
    "h": 313.1
  },
  "luminance": 0.34113
}

Semantic roles & 50–950 ramp

primary
#D079FC
secondary
#E0F7D4
accent
#E6004D
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D079FC

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

Preview Lab → · Contrast checker → · Palette generator →

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