#D180DF#D180DF

#D180DF is a light, vivid purple. Relative luminance 0.343; OKLCH L 71.9% C 0.158 H 321.5°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#D180DF
RGBrgb(209, 128, 223)
HSLhsl(291, 60%, 69%)
HSVhsv(291, 43%, 87%)
CMYKcmyk(6.3%, 42.6%, 0%, 12.5%)
CIE-LABlab(65.22, 46.24, -35.75)
CIE-LCHlch(65.22, 58.45, 322.29°)
OKLaboklab(71.9% 0.1237 -0.0983)
OKLCHoklch(71.9% 0.158 321.5)
XYZxyz(47.3314, 34.3231, 73.9295)
Luminance0.3432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D180DF #8EDF80
analogous
#A280DF #D180DF #DF80BE
triadic
#D180DF #DFD180 #80DFD1
tetradic
#D180DF #DFA280 #8EDF80 #80BEDF
square
#D180DF #DFA280 #8EDF80 #80BEDF
split-complementary
#D180DF #BEDF80 #80DFA2
monochromatic
#A22EB7 #BF4FD3 #D180DF #E3B1EB #F4E2F8

Accessibility & contrast

On white

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

On black

7.86
#D180DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D180DF
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D180DF#FFFFFF#000000##000000
##D180DF1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7498E2
Deuteranopia (green-blind)
#89A1DC
Tritanopia (blue-blind)
#D38BA5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d180df;
/* rgb */ color: rgb(209, 128, 223);
/* oklch */ color: oklch(71.9% 0.158 321.5);
Tailwind
colors: {
  custom: {
    50: '#e1a7e9',
    500: '#d180df',
    950: '#000000',
  },
}
SCSS
$custom: #d180df;
$custom-light: #e1a7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d180df",
  "rgb": {
    "r": 209,
    "g": 128,
    "b": 223
  },
  "hsl": {
    "h": 291.158,
    "s": 59.748,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71901,
    "c": 0.15804,
    "h": 321.5
  },
  "luminance": 0.34321
}

Semantic roles & 50–950 ramp

primary
#D180DF
secondary
#D3EBCF
accent
#C71E37
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D180DF

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

Preview Lab → · Contrast checker → · Palette generator →

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