#D191EC#D191EC

#D191EC is a light, vivid purple. Relative luminance 0.399; OKLCH L 75.2% C 0.143 H 315.4°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#D191EC
RGBrgb(209, 145, 236)
HSLhsl(282, 71%, 75%)
HSVhsv(282, 39%, 93%)
CMYKcmyk(11.4%, 38.6%, 0%, 7.5%)
CIE-LABlab(69.37, 39.79, -36.47)
CIE-LCHlch(69.37, 53.98, 317.50°)
OKLaboklab(75.2% 0.102 -0.1005)
OKLCHoklch(75.2% 0.143 315.4)
XYZxyz(51.5579, 39.8634, 84.3190)
Luminance0.3986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D191EC #ACEC91
analogous
#A491EC #D191EC #EC91DA
triadic
#D191EC #ECD191 #91ECD1
tetradic
#D191EC #ECA491 #ACEC91 #91DAEC
square
#D191EC #ECA491 #ACEC91 #91DAEC
split-complementary
#D191EC #DAEC91 #91ECA4
monochromatic
#A529DA #BB5DE3 #D191EC #E7C5F5 #F4E5FA

Accessibility & contrast

On white

2.34
#D191EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#D191EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D191EC
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D191EC#FFFFFF#000000##000000
##D191EC1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A6EF
Deuteranopia (green-blind)
#92ABE9
Tritanopia (blue-blind)
#D09DB4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d191ec;
/* rgb */ color: rgb(209, 145, 236);
/* oklch */ color: oklch(75.2% 0.143 315.4);
Tailwind
colors: {
  custom: {
    50: '#e0b2f2',
    500: '#d191ec',
    950: '#000000',
  },
}
SCSS
$custom: #d191ec;
$custom-light: #e0b2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d191ec",
  "rgb": {
    "r": 209,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 282.198,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75201,
    "c": 0.14315,
    "h": 315.4
  },
  "luminance": 0.39862
}

Semantic roles & 50–950 ramp

primary
#D191EC
secondary
#E0F2D9
accent
#D3134C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D191EC

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

Preview Lab → · Contrast checker → · Palette generator →

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