#D188EF#D188EF

#D188EF is a light, vivid purple. Relative luminance 0.374; OKLCH L 73.9% C 0.162 H 315.5°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#D188EF
RGBrgb(209, 136, 239)
HSLhsl(283, 76%, 74%)
HSVhsv(283, 43%, 94%)
CMYKcmyk(12.6%, 43.1%, 0%, 6.3%)
CIE-LABlab(67.57, 45.21, -40.92)
CIE-LCHlch(67.57, 60.98, 317.85°)
OKLaboklab(73.89% 0.1153 -0.1132)
OKLCHoklch(73.89% 0.162 315.5)
XYZxyz(50.6763, 37.3969, 86.1934)
Luminance0.3740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D188EF #A6EF88
analogous
#9D88EF #D188EF #EF88D9
triadic
#D188EF #EFD188 #88EFD1
tetradic
#D188EF #EF9D88 #A6EF88 #88D9EF
square
#D188EF #EF9D88 #A6EF88 #88D9EF
split-complementary
#D188EF #D9EF88 #88EF9D
monochromatic
#A71EDF #BC52E8 #D188EF #E6BEF6 #F5E4FB

Accessibility & contrast

On white

2.48
#D188EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#D188EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D188EF
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D188EF#FFFFFF#000000##000000
##D188EF1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F3
Deuteranopia (green-blind)
#89A7EC
Tritanopia (blue-blind)
#CF96B0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d188ef;
/* rgb */ color: rgb(209, 136, 239);
/* oklch */ color: oklch(73.9% 0.162 315.5);
Tailwind
colors: {
  custom: {
    50: '#e1acf4',
    500: '#d188ef',
    950: '#000000',
  },
}
SCSS
$custom: #d188ef;
$custom-light: #e1acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d188ef",
  "rgb": {
    "r": 209,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 282.524,
    "s": 76.296,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73891,
    "c": 0.16157,
    "h": 315.5
  },
  "luminance": 0.37396
}

Semantic roles & 50–950 ramp

primary
#D188EF
secondary
#E0F3D8
accent
#D80D48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #D188EF

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

Preview Lab → · Contrast checker → · Palette generator →

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