#D189F2#D189F2

#D189F2 is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.2% C 0.163 H 314.5°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#D189F2
RGBrgb(209, 137, 242)
HSLhsl(281, 80%, 74%)
HSVhsv(281, 43%, 95%)
CMYKcmyk(13.6%, 43.4%, 0%, 5.1%)
CIE-LABlab(67.92, 45.29, -42.03)
CIE-LCHlch(67.92, 61.79, 317.14°)
OKLaboklab(74.19% 0.1144 -0.1164)
OKLCHoklch(74.19% 0.163 314.5)
XYZxyz(51.2646, 37.8587, 88.5941)
Luminance0.3786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D189F2 #AAF289
analogous
#9D89F2 #D189F2 #F289DF
triadic
#D189F2 #F2D189 #89F2D1
tetradic
#D189F2 #F29D89 #AAF289 #89DFF2
square
#D189F2 #F29D89 #AAF289 #89DFF2
split-complementary
#D189F2 #DFF289 #89F29D
monochromatic
#A61BE6 #BC52EC #D189F2 #E6C0F8 #F4E3FC

Accessibility & contrast

On white

2.45
#D189F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#D189F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D189F2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D189F2#FFFFFF#000000##000000
##D189F21.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F6
Deuteranopia (green-blind)
#88A7EF
Tritanopia (blue-blind)
#CF98B2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d189f2;
/* rgb */ color: rgb(209, 137, 242);
/* oklch */ color: oklch(74.2% 0.163 314.5);
Tailwind
colors: {
  custom: {
    50: '#e1adf6',
    500: '#d189f2',
    950: '#000000',
  },
}
SCSS
$custom: #d189f2;
$custom-light: #e1adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d189f2",
  "rgb": {
    "r": 209,
    "g": 137,
    "b": 242
  },
  "hsl": {
    "h": 281.143,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74191,
    "c": 0.16321,
    "h": 314.5
  },
  "luminance": 0.37857
}

Semantic roles & 50–950 ramp

primary
#D189F2
secondary
#E0F4D7
accent
#DC094B
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #D189F2

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

Preview Lab → · Contrast checker → · Palette generator →

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