#D188EC#D188EC

#D188EC is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.8% C 0.158 H 316.5°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#D188EC
RGBrgb(209, 136, 236)
HSLhsl(284, 72%, 73%)
HSVhsv(284, 42%, 93%)
CMYKcmyk(11.4%, 42.4%, 0%, 7.5%)
CIE-LABlab(67.44, 44.60, -39.47)
CIE-LCHlch(67.44, 59.56, 318.49°)
OKLaboklab(73.75% 0.1148 -0.109)
OKLCHoklch(73.75% 0.158 316.5)
XYZxyz(50.2367, 37.2211, 83.8787)
Luminance0.3722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D188EC #A3EC88
analogous
#9F88EC #D188EC #EC88D5
triadic
#D188EC #ECD188 #88ECD1
tetradic
#D188EC #EC9F88 #A3EC88 #88D5EC
square
#D188EC #EC9F88 #A3EC88 #88D5EC
split-complementary
#D188EC #D5EC88 #88EC9F
monochromatic
#A622D7 #BD53E4 #D188EC #E5BDF4 #F5E5FB

Accessibility & contrast

On white

2.49
#D188EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#D188EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D188EC
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D188EC#FFFFFF#000000##000000
##D188EC1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F0
Deuteranopia (green-blind)
#8AA7E9
Tritanopia (blue-blind)
#D096AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d188ec;
/* rgb */ color: rgb(209, 136, 236);
/* oklch */ color: oklch(73.8% 0.158 316.5);
Tailwind
colors: {
  custom: {
    50: '#e1acf2',
    500: '#d188ec',
    950: '#000000',
  },
}
SCSS
$custom: #d188ec;
$custom-light: #e1acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d188ec",
  "rgb": {
    "r": 209,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 283.8,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7375,
    "c": 0.1583,
    "h": 316.5
  },
  "luminance": 0.3722
}

Semantic roles & 50–950 ramp

primary
#D188EC
secondary
#E0F2D9
accent
#D51146
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #D188EC

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

Preview Lab → · Contrast checker → · Palette generator →

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