#D188F2#D188F2

#D188F2 is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.0% C 0.165 H 314.6°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#D188F2
RGBrgb(209, 136, 242)
HSLhsl(281, 80%, 74%)
HSVhsv(281, 44%, 95%)
CMYKcmyk(13.6%, 43.8%, 0%, 5.1%)
CIE-LABlab(67.71, 45.82, -42.36)
CIE-LCHlch(67.71, 62.40, 317.25°)
OKLaboklab(74.03% 0.1158 -0.1173)
OKLCHoklch(74.03% 0.165 314.6)
XYZxyz(51.1231, 37.5757, 88.5469)
Luminance0.3757 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D188F2 #A9F288
analogous
#9C88F2 #D188F2 #F288DE
triadic
#D188F2 #F2D188 #88F2D1
tetradic
#D188F2 #F29C88 #A9F288 #88DEF2
square
#D188F2 #F29C88 #A9F288 #88DEF2
split-complementary
#D188F2 #DEF288 #88F29C
monochromatic
#A61AE6 #BC51EC #D188F2 #E6BFF8 #F4E3FC

Accessibility & contrast

On white

2.47
#D188F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#D188F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D188F2
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D188F2#FFFFFF#000000##000000
##D188F21.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#87A7EF
Tritanopia (blue-blind)
#CF97B2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d188f2;
/* rgb */ color: rgb(209, 136, 242);
/* oklch */ color: oklch(74.0% 0.165 314.6);
Tailwind
colors: {
  custom: {
    50: '#e1acf6',
    500: '#d188f2',
    950: '#000000',
  },
}
SCSS
$custom: #d188f2;
$custom-light: #e1acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d188f2",
  "rgb": {
    "r": 209,
    "g": 136,
    "b": 242
  },
  "hsl": {
    "h": 281.321,
    "s": 80.303,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74034,
    "c": 0.16486,
    "h": 314.6
  },
  "luminance": 0.37574
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D188F2

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

Preview Lab → · Contrast checker → · Palette generator →

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