#D179FA#D179FA

#D179FA is a light, vivid purple. Relative luminance 0.341; OKLCH L 72.2% C 0.197 H 314.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#D179FA
RGBrgb(209, 121, 250)
HSLhsl(281, 93%, 73%)
HSVhsv(281, 52%, 98%)
CMYKcmyk(16.4%, 51.6%, 0%, 2%)
CIE-LABlab(65.07, 55.23, -50.91)
CIE-LCHlch(65.07, 75.11, 317.33°)
OKLaboklab(72.2% 0.1371 -0.142)
OKLCHoklch(72.2% 0.197 314)
XYZxyz(50.3844, 34.1335, 94.3582)
Luminance0.3413 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D179FA #A2FA79
analogous
#9079FA #D179FA #FA79E3
triadic
#D179FA #FAD179 #79FAD1
tetradic
#D179FA #FA9079 #A2FA79 #79E3FA
square
#D179FA #FA9079 #A2FA79 #79E3FA
split-complementary
#D179FA #E3FA79 #79FA90
monochromatic
#A609F0 #BD3EF8 #D179FA #E5B4FC #F5E2FE

Accessibility & contrast

On white

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

On black

7.83
#D179FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D179FA
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D179FA#FFFFFF#000000##000000
##D179FA1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FE
Deuteranopia (green-blind)
#76A0F7
Tritanopia (blue-blind)
#CE8EAE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d179fa;
/* rgb */ color: rgb(209, 121, 250);
/* oklch */ color: oklch(72.2% 0.197 314.0);
Tailwind
colors: {
  custom: {
    50: '#e2a2fc',
    500: '#d179fa',
    950: '#000000',
  },
}
SCSS
$custom: #d179fa;
$custom-light: #e2a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d179fa",
  "rgb": {
    "r": 209,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 280.93,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72196,
    "c": 0.19738,
    "h": 314
  },
  "luminance": 0.34132
}

Semantic roles & 50–950 ramp

primary
#D179FA
secondary
#DFF6D5
accent
#E60049
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D179FA

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

Preview Lab → · Contrast checker → · Palette generator →

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