#D182EF#D182EF

#D182EF is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.0% C 0.171 H 316.2°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#D182EF
RGBrgb(209, 130, 239)
HSLhsl(283, 77%, 72%)
HSVhsv(283, 46%, 94%)
CMYKcmyk(12.6%, 45.6%, 0%, 6.3%)
CIE-LABlab(66.33, 48.36, -42.87)
CIE-LCHlch(66.33, 64.62, 318.45°)
OKLaboklab(72.96% 0.1236 -0.1188)
OKLCHoklch(72.96% 0.171 316.2)
XYZxyz(49.8548, 35.7540, 85.9196)
Luminance0.3575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D182EF #A0EF82
analogous
#9A82EF #D182EF #EF82D7
triadic
#D182EF #EFD182 #82EFD1
tetradic
#D182EF #EF9A82 #A0EF82 #82D7EF
square
#D182EF #EF9A82 #A0EF82 #82D7EF
split-complementary
#D182EF #D7EF82 #82EF9A
monochromatic
#A61CDB #BD4CE8 #D182EF #E5B8F6 #F5E4FC

Accessibility & contrast

On white

2.58
#D182EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#D182EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D182EF
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D182EF#FFFFFF#000000##000000
##D182EF1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF3
Deuteranopia (green-blind)
#84A4EC
Tritanopia (blue-blind)
#D091AD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d182ef;
/* rgb */ color: rgb(209, 130, 239);
/* oklch */ color: oklch(73.0% 0.171 316.2);
Tailwind
colors: {
  custom: {
    50: '#e1a8f4',
    500: '#d182ef',
    950: '#000000',
  },
}
SCSS
$custom: #d182ef;
$custom-light: #e1a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d182ef",
  "rgb": {
    "r": 209,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 283.486,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72963,
    "c": 0.17144,
    "h": 316.2
  },
  "luminance": 0.35753
}

Semantic roles & 50–950 ramp

primary
#D182EF
secondary
#DFF3D8
accent
#DA0C45
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D182EF

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

Preview Lab → · Contrast checker → · Palette generator →

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