#D191FC#D191FC

#D191FC is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.9% C 0.161 H 310.6°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#D191FC
RGBrgb(209, 145, 252)
HSLhsl(276, 95%, 78%)
HSVhsv(276, 42%, 99%)
CMYKcmyk(17.1%, 42.5%, 0%, 1.2%)
CIE-LABlab(70.06, 43.13, -44.14)
CIE-LCHlch(70.06, 61.71, 314.34°)
OKLaboklab(75.94% 0.105 -0.1225)
OKLCHoklch(75.94% 0.161 310.6)
XYZxyz(53.9874, 40.8352, 97.1145)
Luminance0.4083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D191FC #BCFC91
analogous
#9B91FC #D191FC #FC91F1
triadic
#D191FC #FCD191 #91FCD1
tetradic
#D191FC #FC9B91 #BCFC91 #91F1FC
square
#D191FC #FC9B91 #BCFC91 #91F1FC
split-complementary
#D191FC #F1FC91 #91FC9B
monochromatic
#9F1AF9 #B855FA #D191FC #EACDFE #F3E1FE

Accessibility & contrast

On white

2.29
#D191FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#D191FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D191FC
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D191FC#FFFFFF#000000##000000
##D191FC1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#8AACF9
Tritanopia (blue-blind)
#CCA1BB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d191fc;
/* rgb */ color: rgb(209, 145, 252);
/* oklch */ color: oklch(75.9% 0.161 310.6);
Tailwind
colors: {
  custom: {
    50: '#e1b2fe',
    500: '#d191fc',
    950: '#000000',
  },
}
SCSS
$custom: #d191fc;
$custom-light: #e1b2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d191fc",
  "rgb": {
    "r": 209,
    "g": 145,
    "b": 252
  },
  "hsl": {
    "h": 275.888,
    "s": 94.69,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75944,
    "c": 0.16135,
    "h": 310.6
  },
  "luminance": 0.40834
}

Semantic roles & 50–950 ramp

primary
#D191FC
secondary
#E2F6D5
accent
#E6005C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #D191FC

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

Preview Lab → · Contrast checker → · Palette generator →

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