#D187FB#D187FB

#D187FB is a light, vivid violet. Relative luminance 0.378; OKLCH L 74.3% C 0.176 H 312.2°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#D187FB
RGBrgb(209, 135, 251)
HSLhsl(278, 94%, 76%)
HSVhsv(278, 46%, 98%)
CMYKcmyk(16.7%, 46.2%, 0%, 1.6%)
CIE-LABlab(67.91, 48.22, -46.97)
CIE-LCHlch(67.91, 67.32, 315.75°)
OKLaboklab(74.32% 0.1185 -0.1307)
OKLCHoklch(74.32% 0.176 312.2)
XYZxyz(52.3680, 37.8494, 95.7951)
Luminance0.3785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D187FB #B1FB87
analogous
#9787FB #D187FB #FB87EB
triadic
#D187FB #FBD187 #87FBD1
tetradic
#D187FB #FB9787 #B1FB87 #87EBFB
square
#D187FB #FB9787 #B1FB87 #87EBFB
split-complementary
#D187FB #EBFB87 #87FB97
monochromatic
#A411F7 #BA4CF9 #D187FB #E8C2FD #F4E1FE

Accessibility & contrast

On white

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

On black

8.57
#D187FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D187FB
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D187FB#FFFFFF#000000##000000
##D187FB1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#82A7F8
Tritanopia (blue-blind)
#CD99B5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d187fb;
/* rgb */ color: rgb(209, 135, 251);
/* oklch */ color: oklch(74.3% 0.176 312.2);
Tailwind
colors: {
  custom: {
    50: '#e1acfd',
    500: '#d187fb',
    950: '#000000',
  },
}
SCSS
$custom: #d187fb;
$custom-light: #e1acfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d187fb",
  "rgb": {
    "r": 209,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 278.276,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7432,
    "c": 0.17641,
    "h": 312.2
  },
  "luminance": 0.37848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D187FB

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

Preview Lab → · Contrast checker → · Palette generator →

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