#D179EE#D179EE

#D179EE is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.6% C 0.185 H 317.3°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#D179EE
RGBrgb(209, 121, 238)
HSLhsl(285, 77%, 70%)
HSVhsv(285, 49%, 93%)
CMYKcmyk(12.2%, 49.2%, 0%, 6.7%)
CIE-LABlab(64.49, 52.79, -45.21)
CIE-LCHlch(64.49, 69.51, 319.42°)
OKLaboklab(71.58% 0.1358 -0.1255)
OKLCHoklch(71.58% 0.185 317.3)
XYZxyz(48.5623, 33.4047, 84.7620)
Luminance0.3340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D179EE #96EE79
analogous
#9679EE #D179EE #EE79D0
triadic
#D179EE #EED179 #79EED1
tetradic
#D179EE #EE9679 #96EE79 #79D0EE
square
#D179EE #EE9679 #96EE79 #79D0EE
split-complementary
#D179EE #D0EE79 #79EE96
monochromatic
#A51BD2 #BE43E7 #D179EE #E4AFF5 #F6E4FC

Accessibility & contrast

On white

2.73
#D179EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#D179EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D179EE
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D179EE#FFFFFF#000000##000000
##D179EE1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F2
Deuteranopia (green-blind)
#7D9FEB
Tritanopia (blue-blind)
#D08AA9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d179ee;
/* rgb */ color: rgb(209, 121, 238);
/* oklch */ color: oklch(71.6% 0.185 317.3);
Tailwind
colors: {
  custom: {
    50: '#e1a2f4',
    500: '#d179ee',
    950: '#000000',
  },
}
SCSS
$custom: #d179ee;
$custom-light: #e1a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d179ee",
  "rgb": {
    "r": 209,
    "g": 121,
    "b": 238
  },
  "hsl": {
    "h": 285.128,
    "s": 77.483,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71577,
    "c": 0.18491,
    "h": 317.3
  },
  "luminance": 0.33403
}

Semantic roles & 50–950 ramp

primary
#D179EE
secondary
#D9F1D1
accent
#DA0C3F
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D179EE

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

Preview Lab → · Contrast checker → · Palette generator →

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