#D187FA#D187FA

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

Color values

HEX#D187FA
RGBrgb(209, 135, 250)
HSLhsl(279, 92%, 75%)
HSVhsv(279, 46%, 98%)
CMYKcmyk(16.4%, 46%, 0%, 2%)
CIE-LABlab(67.86, 48.01, -46.50)
CIE-LCHlch(67.86, 66.84, 315.92°)
OKLaboklab(74.27% 0.1184 -0.1293)
OKLCHoklch(74.27% 0.175 312.5)
XYZxyz(52.2108, 37.7865, 94.9671)
Luminance0.3779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D187FA #B0FA87
analogous
#9787FA #D187FA #FA87E9
triadic
#D187FA #FAD187 #87FAD1
tetradic
#D187FA #FA9787 #B0FA87 #87E9FA
square
#D187FA #FA9787 #B0FA87 #87E9FA
split-complementary
#D187FA #E9FA87 #87FA97
monochromatic
#A411F5 #BA4CF8 #D187FA #E8C2FC #F4E2FE

Accessibility & contrast

On white

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

On black

8.56
#D187FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D187FA
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D187FA#FFFFFF#000000##000000
##D187FA1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d187fa;
/* rgb */ color: rgb(209, 135, 250);
/* oklch */ color: oklch(74.3% 0.175 312.5);
Tailwind
colors: {
  custom: {
    50: '#e1acfc',
    500: '#d187fa',
    950: '#000000',
  },
}
SCSS
$custom: #d187fa;
$custom-light: #e1acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d187fa",
  "rgb": {
    "r": 209,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 278.609,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7427,
    "c": 0.17531,
    "h": 312.5
  },
  "luminance": 0.37785
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D187FA

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

Preview Lab → · Contrast checker → · Palette generator →

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