#D179FD#D179FD

#D179FD is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 72.4% C 0.201 H 313.2°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#D179FD
RGBrgb(209, 121, 253)
HSLhsl(280, 97%, 73%)
HSVhsv(280, 52%, 99%)
CMYKcmyk(17.4%, 52.2%, 0%, 0.8%)
CIE-LABlab(65.22, 55.85, -52.32)
CIE-LCHlch(65.22, 76.52, 316.87°)
OKLaboklab(72.36% 0.1373 -0.1461)
OKLCHoklch(72.36% 0.201 313.2)
XYZxyz(50.8585, 34.3232, 96.8554)
Luminance0.3432 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D179FD #A5FD79
analogous
#8F79FD #D179FD #FD79E7
triadic
#D179FD #FDD179 #79FDD1
tetradic
#D179FD #FD8F79 #A5FD79 #79E7FD
square
#D179FD #FD8F79 #A5FD79 #79E7FD
split-complementary
#D179FD #E7FD79 #79FD8F
monochromatic
#A604F8 #BC3DFC #D179FD #E6B5FE #F5E1FF

Accessibility & contrast

On white

2.67
#D179FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#D179FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D179FD
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D179FD#FFFFFF#000000##000000
##D179FD1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d179fd;
/* rgb */ color: rgb(209, 121, 253);
/* oklch */ color: oklch(72.4% 0.201 313.2);
Tailwind
colors: {
  custom: {
    50: '#e2a3fe',
    500: '#d179fd',
    950: '#000000',
  },
}
SCSS
$custom: #d179fd;
$custom-light: #e2a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d179fd",
  "rgb": {
    "r": 209,
    "g": 121,
    "b": 253
  },
  "hsl": {
    "h": 280,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72356,
    "c": 0.20053,
    "h": 313.2
  },
  "luminance": 0.34322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D179FD

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

Preview Lab → · Contrast checker → · Palette generator →

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