#D182EB#D182EB

#D182EB is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.8% C 0.167 H 317.4°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#D182EB
RGBrgb(209, 130, 235)
HSLhsl(285, 72%, 72%)
HSVhsv(285, 45%, 92%)
CMYKcmyk(11.1%, 44.7%, 0%, 7.8%)
CIE-LABlab(66.15, 47.55, -40.94)
CIE-LCHlch(66.15, 62.75, 319.27°)
OKLaboklab(72.77% 0.123 -0.1132)
OKLCHoklch(72.77% 0.167 317.4)
XYZxyz(49.2704, 35.5202, 82.8418)
Luminance0.3552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D182EB #9CEB82
analogous
#9D82EB #D182EB #EB82D1
triadic
#D182EB #EBD182 #82EBD1
tetradic
#D182EB #EB9D82 #9CEB82 #82D1EB
square
#D182EB #EB9D82 #9CEB82 #82D1EB
split-complementary
#D182EB #D1EB82 #82EB9D
monochromatic
#A621D1 #BE4DE3 #D182EB #E4B7F3 #F5E5FB

Accessibility & contrast

On white

2.59
#D182EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#D182EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D182EB
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D182EB#FFFFFF#000000##000000
##D182EB1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CEF
Deuteranopia (green-blind)
#86A3E8
Tritanopia (blue-blind)
#D190AB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d182eb;
/* rgb */ color: rgb(209, 130, 235);
/* oklch */ color: oklch(72.8% 0.167 317.4);
Tailwind
colors: {
  custom: {
    50: '#e1a8f2',
    500: '#d182eb',
    950: '#000000',
  },
}
SCSS
$custom: #d182eb;
$custom-light: #e1a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d182eb",
  "rgb": {
    "r": 209,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 285.143,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.7277,
    "c": 0.16718,
    "h": 317.4
  },
  "luminance": 0.35519
}

Semantic roles & 50–950 ramp

primary
#D182EB
secondary
#DEF2D7
accent
#D41141
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D182EB

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

Preview Lab → · Contrast checker → · Palette generator →

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