#D188F7#D188F7

#D188F7 is a light, vivid violet. Relative luminance 0.379; OKLCH L 74.3% C 0.170 H 313.2°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#D188F7
RGBrgb(209, 136, 247)
HSLhsl(279, 87%, 75%)
HSVhsv(279, 45%, 97%)
CMYKcmyk(15.4%, 44.9%, 0%, 3.1%)
CIE-LABlab(67.93, 46.86, -44.75)
CIE-LCHlch(67.93, 64.79, 316.32°)
OKLaboklab(74.28% 0.1166 -0.1242)
OKLCHoklch(74.28% 0.17 313.2)
XYZxyz(51.8843, 37.8802, 92.5561)
Luminance0.3788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D188F7 #AEF788
analogous
#9988F7 #D188F7 #F788E6
triadic
#D188F7 #F7D188 #88F7D1
tetradic
#D188F7 #F79988 #AEF788 #88E6F7
square
#D188F7 #F79988 #AEF788 #88E6F7
split-complementary
#D188F7 #E6F788 #88F799
monochromatic
#A515EF #BB4FF3 #D188F7 #E7C1FB #F4E2FD

Accessibility & contrast

On white

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

On black

8.58
#D188F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D188F7
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D188F7#FFFFFF#000000##000000
##D188F71.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FB
Deuteranopia (green-blind)
#85A7F4
Tritanopia (blue-blind)
#CE99B4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d188f7;
/* rgb */ color: rgb(209, 136, 247);
/* oklch */ color: oklch(74.3% 0.170 313.2);
Tailwind
colors: {
  custom: {
    50: '#e1acfa',
    500: '#d188f7',
    950: '#000000',
  },
}
SCSS
$custom: #d188f7;
$custom-light: #e1acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d188f7",
  "rgb": {
    "r": 209,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 279.459,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74277,
    "c": 0.17037,
    "h": 313.2
  },
  "luminance": 0.37879
}

Semantic roles & 50–950 ramp

primary
#D188F7
secondary
#E1F5D6
accent
#E4024F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151017
muted
#847F85

Preview Lab

Preview with #D188F7

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

Preview Lab → · Contrast checker → · Palette generator →

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