#D189EF#D189EF

#D189EF is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.0% C 0.160 H 315.4°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#D189EF
RGBrgb(209, 137, 239)
HSLhsl(282, 76%, 74%)
HSVhsv(282, 43%, 94%)
CMYKcmyk(12.6%, 42.7%, 0%, 6.3%)
CIE-LABlab(67.78, 44.68, -40.59)
CIE-LCHlch(67.78, 60.36, 317.74°)
OKLaboklab(74.05% 0.1139 -0.1123)
OKLCHoklch(74.05% 0.16 315.4)
XYZxyz(50.8177, 37.6799, 86.2406)
Luminance0.3768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D189EF #A7EF89
analogous
#9E89EF #D189EF #EF89DA
triadic
#D189EF #EFD189 #89EFD1
tetradic
#D189EF #EF9E89 #A7EF89 #89DAEF
square
#D189EF #EF9E89 #A7EF89 #89DAEF
split-complementary
#D189EF #DAEF89 #89EF9E
monochromatic
#A71EDF #BC53E8 #D189EF #E6BFF6 #F4E4FB

Accessibility & contrast

On white

2.46
#D189EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#D189EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D189EF
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D189EF#FFFFFF#000000##000000
##D189EF1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F3
Deuteranopia (green-blind)
#8AA7EC
Tritanopia (blue-blind)
#CF97B1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d189ef;
/* rgb */ color: rgb(209, 137, 239);
/* oklch */ color: oklch(74.0% 0.160 315.4);
Tailwind
colors: {
  custom: {
    50: '#e1adf4',
    500: '#d189ef',
    950: '#000000',
  },
}
SCSS
$custom: #d189ef;
$custom-light: #e1adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d189ef",
  "rgb": {
    "r": 209,
    "g": 137,
    "b": 239
  },
  "hsl": {
    "h": 282.353,
    "s": 76.119,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74049,
    "c": 0.15992,
    "h": 315.4
  },
  "luminance": 0.37679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D189EF

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

Preview Lab → · Contrast checker → · Palette generator →

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