#D179FB#D179FB

#D179FB is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.2% C 0.198 H 313.7°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#D179FB
RGBrgb(209, 121, 251)
HSLhsl(281, 94%, 73%)
HSVhsv(281, 52%, 98%)
CMYKcmyk(16.7%, 51.8%, 0%, 1.6%)
CIE-LABlab(65.12, 55.43, -51.38)
CIE-LCHlch(65.12, 75.58, 317.17°)
OKLaboklab(72.25% 0.1372 -0.1434)
OKLCHoklch(72.25% 0.198 313.7)
XYZxyz(50.5416, 34.1964, 95.1862)
Luminance0.3419 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D179FB #A3FB79
analogous
#9079FB #D179FB #FB79E4
triadic
#D179FB #FBD179 #79FBD1
tetradic
#D179FB #FB9079 #A3FB79 #79E4FB
square
#D179FB #FB9079 #A3FB79 #79E4FB
split-complementary
#D179FB #E4FB79 #79FB90
monochromatic
#A607F2 #BD3EF9 #D179FB #E5B4FD #F5E1FE

Accessibility & contrast

On white

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

On black

7.84
#D179FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D179FB
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D179FB#FFFFFF#000000##000000
##D179FB1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#75A0F8
Tritanopia (blue-blind)
#CD8EAF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d179fb;
/* rgb */ color: rgb(209, 121, 251);
/* oklch */ color: oklch(72.2% 0.198 313.7);
Tailwind
colors: {
  custom: {
    50: '#e2a3fd',
    500: '#d179fb',
    950: '#000000',
  },
}
SCSS
$custom: #d179fb;
$custom-light: #e2a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d179fb",
  "rgb": {
    "r": 209,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 280.615,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72249,
    "c": 0.19843,
    "h": 313.7
  },
  "luminance": 0.34195
}

Semantic roles & 50–950 ramp

primary
#D179FB
secondary
#E0F6D5
accent
#E6004A
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D179FB

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

Preview Lab → · Contrast checker → · Palette generator →

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