#D179FC#D179FC

#D179FC is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.3% C 0.199 H 313.5°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#D179FC
RGBrgb(209, 121, 252)
HSLhsl(280, 96%, 73%)
HSVhsv(280, 52%, 99%)
CMYKcmyk(17.1%, 52%, 0%, 1.2%)
CIE-LABlab(65.17, 55.64, -51.85)
CIE-LCHlch(65.17, 76.05, 317.02°)
OKLaboklab(72.3% 0.1372 -0.1448)
OKLCHoklch(72.3% 0.199 313.5)
XYZxyz(50.6996, 34.2596, 96.0186)
Luminance0.3426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D179FC #A4FC79
analogous
#8F79FC #D179FC #FC79E6
triadic
#D179FC #FCD179 #79FCD1
tetradic
#D179FC #FC8F79 #A4FC79 #79E6FC
square
#D179FC #FC8F79 #A4FC79 #79E6FC
split-complementary
#D179FC #E6FC79 #79FC8F
monochromatic
#A605F5 #BC3DFB #D179FC #E6B5FD #F5E1FE

Accessibility & contrast

On white

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

On black

7.85
#D179FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D179FC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D179FC#FFFFFF#000000##000000
##D179FC1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d179fc;
/* rgb */ color: rgb(209, 121, 252);
/* oklch */ color: oklch(72.3% 0.199 313.5);
Tailwind
colors: {
  custom: {
    50: '#e2a3fe',
    500: '#d179fc',
    950: '#000000',
  },
}
SCSS
$custom: #d179fc;
$custom-light: #e2a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d179fc",
  "rgb": {
    "r": 209,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 280.305,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72302,
    "c": 0.19947,
    "h": 313.5
  },
  "luminance": 0.34258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D179FC

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

Preview Lab → · Contrast checker → · Palette generator →

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