#D188F9#D188F9

#D188F9 is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.4% C 0.173 H 312.6°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#D188F9
RGBrgb(209, 136, 249)
HSLhsl(279, 90%, 75%)
HSVhsv(279, 45%, 98%)
CMYKcmyk(16.1%, 45.4%, 0%, 2.4%)
CIE-LABlab(68.02, 47.28, -45.70)
CIE-LCHlch(68.02, 65.75, 315.97°)
OKLaboklab(74.38% 0.1169 -0.127)
OKLCHoklch(74.38% 0.173 312.6)
XYZxyz(52.1946, 38.0043, 94.1902)
Luminance0.3800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D188F9 #B0F988
analogous
#9888F9 #D188F9 #F988E8
triadic
#D188F9 #F9D188 #88F9D1
tetradic
#D188F9 #F99888 #B0F988 #88E8F9
square
#D188F9 #F99888 #B0F988 #88E8F9
split-complementary
#D188F9 #E8F988 #88F998
monochromatic
#A413F3 #BA4EF6 #D188F9 #E8C2FC #F4E2FE

Accessibility & contrast

On white

2.44
#D188F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#D188F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D188F9
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D188F9#FFFFFF#000000##000000
##D188F91.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A2FD
Deuteranopia (green-blind)
#84A8F6
Tritanopia (blue-blind)
#CD99B5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d188f9;
/* rgb */ color: rgb(209, 136, 249);
/* oklch */ color: oklch(74.4% 0.173 312.6);
Tailwind
colors: {
  custom: {
    50: '#e1acfb',
    500: '#d188f9',
    950: '#000000',
  },
}
SCSS
$custom: #d188f9;
$custom-light: #e1acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d188f9",
  "rgb": {
    "r": 209,
    "g": 136,
    "b": 249
  },
  "hsl": {
    "h": 278.761,
    "s": 90.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74375,
    "c": 0.17258,
    "h": 312.6
  },
  "luminance": 0.38003
}

Semantic roles & 50–950 ramp

primary
#D188F9
secondary
#E1F6D5
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151017
muted
#847F85

Preview Lab

Preview with #D188F9

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

Preview Lab → · Contrast checker → · Palette generator →

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