#D188F6#D188F6

#D188F6 is a light, vivid violet. Relative luminance 0.378; OKLCH L 74.2% C 0.169 H 313.5°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#D188F6
RGBrgb(209, 136, 246)
HSLhsl(280, 86%, 75%)
HSVhsv(280, 45%, 96%)
CMYKcmyk(15%, 44.7%, 0%, 3.5%)
CIE-LABlab(67.89, 46.65, -44.27)
CIE-LCHlch(67.89, 64.31, 316.50°)
OKLaboklab(74.23% 0.1164 -0.1229)
OKLCHoklch(74.23% 0.169 313.5)
XYZxyz(51.7305, 37.8186, 91.7455)
Luminance0.3782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D188F6 #ADF688
analogous
#9A88F6 #D188F6 #F688E4
triadic
#D188F6 #F6D188 #88F6D1
tetradic
#D188F6 #F69A88 #ADF688 #88E4F6
square
#D188F6 #F69A88 #ADF688 #88E4F6
split-complementary
#D188F6 #E4F688 #88F69A
monochromatic
#A516ED #BB4FF2 #D188F6 #E7C1FA #F4E3FD

Accessibility & contrast

On white

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

On black

8.56
#D188F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D188F6
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D188F6#FFFFFF#000000##000000
##D188F61.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A1FA
Deuteranopia (green-blind)
#85A7F3
Tritanopia (blue-blind)
#CE98B3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d188f6;
/* rgb */ color: rgb(209, 136, 246);
/* oklch */ color: oklch(74.2% 0.169 313.5);
Tailwind
colors: {
  custom: {
    50: '#e1acf9',
    500: '#d188f6',
    950: '#000000',
  },
}
SCSS
$custom: #d188f6;
$custom-light: #e1acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#d188f6",
  "rgb": {
    "r": 209,
    "g": 136,
    "b": 246
  },
  "hsl": {
    "h": 279.818,
    "s": 85.938,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74228,
    "c": 0.16926,
    "h": 313.5
  },
  "luminance": 0.37817
}

Semantic roles & 50–950 ramp

primary
#D188F6
secondary
#E0F5D6
accent
#E2034E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151017
muted
#847F85

Preview Lab

Preview with #D188F6

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

Preview Lab → · Contrast checker → · Palette generator →

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