#C187DC#C187DC

#C187DC is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.2% C 0.135 H 314.5°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#C187DC
RGBrgb(193, 135, 220)
HSLhsl(281, 55%, 70%)
HSVhsv(281, 39%, 86%)
CMYKcmyk(12.3%, 38.6%, 0%, 13.7%)
CIE-LABlab(64.83, 37.13, -34.82)
CIE-LCHlch(64.83, 50.90, 316.83°)
OKLaboklab(71.18% 0.0944 -0.096)
OKLCHoklch(71.18% 0.135 314.5)
XYZxyz(43.5725, 33.8336, 71.9315)
Luminance0.3383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C187DC #A2DC87
analogous
#9787DC #C187DC #DC87CD
triadic
#C187DC #DCC187 #87DCC1
tetradic
#C187DC #DC9787 #A2DC87 #87CDDC
square
#C187DC #DC9787 #A2DC87 #87CDDC
split-complementary
#C187DC #CDDC87 #87DC97
monochromatic
#8C35B4 #A958CE #C187DC #D9B6EA #F2E6F8

Accessibility & contrast

On white

2.70
#C187DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#C187DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C187DC
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C187DC#FFFFFF#000000##000000
##C187DC1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#799ADF
Deuteranopia (green-blind)
#879FDA
Tritanopia (blue-blind)
#BF92A7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c187dc;
/* rgb */ color: rgb(193, 135, 220);
/* oklch */ color: oklch(71.2% 0.135 314.5);
Tailwind
colors: {
  custom: {
    50: '#d5abe7',
    500: '#c187dc',
    950: '#000000',
  },
}
SCSS
$custom: #c187dc;
$custom-light: #d5abe7;
$custom-dark: #000000;
JSON
{
  "hex": "#c187dc",
  "rgb": {
    "r": 193,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 280.941,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71177,
    "c": 0.13467,
    "h": 314.5
  },
  "luminance": 0.33833
}

Semantic roles & 50–950 ramp

primary
#C187DC
secondary
#DBECD3
accent
#C22356
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #C187DC

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

Preview Lab → · Contrast checker → · Palette generator →

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