#D180EB#D180EB

#D180EB is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.5% C 0.170 H 317.6°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#D180EB
RGBrgb(209, 128, 235)
HSLhsl(285, 73%, 71%)
HSVhsv(285, 46%, 92%)
CMYKcmyk(11.1%, 45.5%, 0%, 7.8%)
CIE-LABlab(65.74, 48.59, -41.58)
CIE-LCHlch(65.74, 63.96, 319.45°)
OKLaboklab(72.47% 0.1258 -0.115)
OKLCHoklch(72.47% 0.17 317.6)
XYZxyz(49.0070, 34.9934, 82.7540)
Luminance0.3499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D180EB #9AEB80
analogous
#9B80EB #D180EB #EB80CF
triadic
#D180EB #EBD180 #80EBD1
tetradic
#D180EB #EB9B80 #9AEB80 #80CFEB
square
#D180EB #EB9B80 #9AEB80 #80CFEB
split-complementary
#D180EB #CFEB80 #80EB9B
monochromatic
#A521D0 #BE4BE3 #D180EB #E4B5F3 #F5E5FB

Accessibility & contrast

On white

2.63
#D180EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#D180EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D180EB
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D180EB#FFFFFF#000000##000000
##D180EB1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEF
Deuteranopia (green-blind)
#84A2E8
Tritanopia (blue-blind)
#D18FAB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d180eb;
/* rgb */ color: rgb(209, 128, 235);
/* oklch */ color: oklch(72.5% 0.170 317.6);
Tailwind
colors: {
  custom: {
    50: '#e1a7f2',
    500: '#d180eb',
    950: '#000000',
  },
}
SCSS
$custom: #d180eb;
$custom-light: #e1a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d180eb",
  "rgb": {
    "r": 209,
    "g": 128,
    "b": 235
  },
  "hsl": {
    "h": 285.421,
    "s": 72.789,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72466,
    "c": 0.17048,
    "h": 317.6
  },
  "luminance": 0.34992
}

Semantic roles & 50–950 ramp

primary
#D180EB
secondary
#DCF1D5
accent
#D51140
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D180EB

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

Preview Lab → · Contrast checker → · Palette generator →

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