#C187CC#C187CC

#C187CC is a light, moderate purple. Relative luminance 0.330; OKLCH L 70.5% C 0.117 H 321.0°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#C187CC
RGBrgb(193, 135, 204)
HSLhsl(290, 40%, 66%)
HSVhsv(290, 34%, 80%)
CMYKcmyk(5.4%, 33.8%, 0%, 20%)
CIE-LABlab(64.18, 33.87, -26.90)
CIE-LCHlch(64.18, 43.25, 321.55°)
OKLaboklab(70.47% 0.0907 -0.0734)
OKLCHoklch(70.47% 0.117 321)
XYZxyz(41.5540, 33.0263, 61.3008)
Luminance0.3302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C187CC #92CC87
analogous
#9F87CC #C187CC #CC87B5
triadic
#C187CC #CCC187 #87CCC1
tetradic
#C187CC #CC9F87 #92CC87 #87B5CC
square
#C187CC #CC9F87 #92CC87 #87B5CC
split-complementary
#C187CC #B5CC87 #87CC9F
monochromatic
#8A4198 #AB5CBA #C187CC #D7B2DE #EDDDF1

Accessibility & contrast

On white

2.76
#C187CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#C187CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C187CC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C187CC#FFFFFF#000000##000000
##C187CC1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F97CF
Deuteranopia (green-blind)
#8D9ECA
Tritanopia (blue-blind)
#C38FA0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c187cc;
/* rgb */ color: rgb(193, 135, 204);
/* oklch */ color: oklch(70.5% 0.117 321.0);
Tailwind
colors: {
  custom: {
    50: '#d4abdb',
    500: '#c187cc',
    950: '#000000',
  },
}
SCSS
$custom: #c187cc;
$custom-light: #d4abdb;
$custom-dark: #000000;
JSON
{
  "hex": "#c187cc",
  "rgb": {
    "r": 193,
    "g": 135,
    "b": 204
  },
  "hsl": {
    "h": 290.435,
    "s": 40.351,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70473,
    "c": 0.11671,
    "h": 321
  },
  "luminance": 0.33025
}

Semantic roles & 50–950 ramp

primary
#C187CC
secondary
#D0E3CC
accent
#B33247
background
#FDFAFD
surface
#FAF4FB
border
#D3CED4
text
#141015
muted
#837F83

Preview Lab

Preview with #C187CC

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

Preview Lab → · Contrast checker → · Palette generator →

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