#D180E4#D180E4

#D180E4 is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.1% C 0.163 H 319.8°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#D180E4
RGBrgb(209, 128, 228)
HSLhsl(289, 65%, 70%)
HSVhsv(289, 44%, 89%)
CMYKcmyk(8.3%, 43.9%, 0%, 10.6%)
CIE-LABlab(65.43, 47.21, -38.19)
CIE-LCHlch(65.43, 60.72, 321.03°)
OKLaboklab(72.13% 0.1246 -0.1053)
OKLCHoklch(72.13% 0.163 319.8)
XYZxyz(48.0155, 34.5968, 77.5323)
Luminance0.3459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D180E4 #93E480
analogous
#9F80E4 #D180E4 #E480C5
triadic
#D180E4 #E4D180 #80E4D1
tetradic
#D180E4 #E49F80 #93E480 #80C5E4
square
#D180E4 #E49F80 #93E480 #80C5E4
split-complementary
#D180E4 #C5E480 #80E49F
monochromatic
#A429C1 #BF4ED9 #D180E4 #E3B2EF #F6E5F9

Accessibility & contrast

On white

2.65
#D180E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#D180E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D180E4
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D180E4#FFFFFF#000000##000000
##D180E41.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7199E8
Deuteranopia (green-blind)
#87A2E1
Tritanopia (blue-blind)
#D28DA7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d180e4;
/* rgb */ color: rgb(209, 128, 228);
/* oklch */ color: oklch(72.1% 0.163 319.8);
Tailwind
colors: {
  custom: {
    50: '#e1a7ed',
    500: '#d180e4',
    950: '#000000',
  },
}
SCSS
$custom: #d180e4;
$custom-light: #e1a7ed;
$custom-dark: #000000;
JSON
{
  "hex": "#d180e4",
  "rgb": {
    "r": 209,
    "g": 128,
    "b": 228
  },
  "hsl": {
    "h": 288.6,
    "s": 64.935,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72133,
    "c": 0.16317,
    "h": 319.8
  },
  "luminance": 0.34595
}

Semantic roles & 50–950 ramp

primary
#D180E4
secondary
#D7EED2
accent
#CD193B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D180E4

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

Preview Lab → · Contrast checker → · Palette generator →

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