#D179EA#D179EA

#D179EA is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.4% C 0.181 H 318.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#D179EA
RGBrgb(209, 121, 234)
HSLhsl(287, 73%, 70%)
HSVhsv(287, 48%, 92%)
CMYKcmyk(10.7%, 48.3%, 0%, 8.2%)
CIE-LABlab(64.30, 52.00, -43.29)
CIE-LCHlch(64.30, 67.66, 320.22°)
OKLaboklab(71.38% 0.1353 -0.1199)
OKLCHoklch(71.38% 0.181 318.4)
XYZxyz(47.9811, 33.1722, 81.7014)
Luminance0.3317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D179EA #92EA79
analogous
#9979EA #D179EA #EA79CA
triadic
#D179EA #EAD179 #79EAD1
tetradic
#D179EA #EA9979 #92EA79 #79CAEA
square
#D179EA #EA9979 #92EA79 #79CAEA
split-complementary
#D179EA #CAEA79 #79EA99
monochromatic
#A420C9 #BF44E2 #D179EA #E3AEF2 #F5E3FB

Accessibility & contrast

On white

2.75
#D179EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#D179EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D179EA
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D179EA#FFFFFF#000000##000000
##D179EA1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6596EE
Deuteranopia (green-blind)
#7F9FE7
Tritanopia (blue-blind)
#D189A7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d179ea;
/* rgb */ color: rgb(209, 121, 234);
/* oklch */ color: oklch(71.4% 0.181 318.4);
Tailwind
colors: {
  custom: {
    50: '#e1a2f1',
    500: '#d179ea',
    950: '#000000',
  },
}
SCSS
$custom: #d179ea;
$custom-light: #e1a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d179ea",
  "rgb": {
    "r": 209,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 286.726,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71378,
    "c": 0.1808,
    "h": 318.4
  },
  "luminance": 0.33171
}

Semantic roles & 50–950 ramp

primary
#D179EA
secondary
#D6F0CF
accent
#D5113C
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D179EA

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

Preview Lab → · Contrast checker → · Palette generator →

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