#D180EF#D180EF

#D180EF is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.7% C 0.175 H 316.3°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#D180EF
RGBrgb(209, 128, 239)
HSLhsl(284, 78%, 72%)
HSVhsv(284, 46%, 94%)
CMYKcmyk(12.6%, 46.4%, 0%, 6.3%)
CIE-LABlab(65.93, 49.40, -43.50)
CIE-LCHlch(65.93, 65.82, 318.63°)
OKLaboklab(72.66% 0.1264 -0.1206)
OKLCHoklch(72.66% 0.175 316.3)
XYZxyz(49.5913, 35.2271, 85.8318)
Luminance0.3523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D180EF #9EEF80
analogous
#9A80EF #D180EF #EF80D5
triadic
#D180EF #EFD180 #80EFD1
tetradic
#D180EF #EF9A80 #9EEF80 #80D5EF
square
#D180EF #EF9A80 #9EEF80 #80D5EF
split-complementary
#D180EF #D5EF80 #80EF9A
monochromatic
#A61BD9 #BD4AE8 #D180EF #E5B6F6 #F5E4FC

Accessibility & contrast

On white

2.61
#D180EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#D180EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D180EF
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D180EF#FFFFFF#000000##000000
##D180EF1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF3
Deuteranopia (green-blind)
#82A3EC
Tritanopia (blue-blind)
#D090AC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d180ef;
/* rgb */ color: rgb(209, 128, 239);
/* oklch */ color: oklch(72.7% 0.175 316.3);
Tailwind
colors: {
  custom: {
    50: '#e1a7f4',
    500: '#d180ef',
    950: '#000000',
  },
}
SCSS
$custom: #d180ef;
$custom-light: #e1a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d180ef",
  "rgb": {
    "r": 209,
    "g": 128,
    "b": 239
  },
  "hsl": {
    "h": 283.784,
    "s": 77.622,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7266,
    "c": 0.1747,
    "h": 316.3
  },
  "luminance": 0.35226
}

Semantic roles & 50–950 ramp

primary
#D180EF
secondary
#DFF3D7
accent
#DA0C43
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D180EF

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

Preview Lab → · Contrast checker → · Palette generator →

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