#C187CD#C187CD

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

Color values

HEX#C187CD
RGBrgb(193, 135, 205)
HSLhsl(290, 41%, 67%)
HSVhsv(290, 34%, 80%)
CMYKcmyk(5.9%, 34.1%, 0%, 19.6%)
CIE-LABlab(64.22, 34.07, -27.40)
CIE-LCHlch(64.22, 43.72, 321.19°)
OKLaboklab(70.52% 0.091 -0.0748)
OKLCHoklch(70.52% 0.118 320.6)
XYZxyz(41.6743, 33.0744, 61.9345)
Luminance0.3307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C187CD #93CD87
analogous
#9E87CD #C187CD #CD87B6
triadic
#C187CD #CDC187 #87CDC1
tetradic
#C187CD #CD9E87 #93CD87 #87B6CD
square
#C187CD #CD9E87 #93CD87 #87B6CD
split-complementary
#C187CD #B6CD87 #87CD9E
monochromatic
#8A409A #AB5CBB #C187CD #D7B2DF #EEDDF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C187CD#FFFFFF#000000##000000
##C187CD1.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)
#7F98D0
Deuteranopia (green-blind)
#8D9ECB
Tritanopia (blue-blind)
#C28FA1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c187cd;
/* rgb */ color: rgb(193, 135, 205);
/* oklch */ color: oklch(70.5% 0.118 320.6);
Tailwind
colors: {
  custom: {
    50: '#d4abdc',
    500: '#c187cd',
    950: '#000000',
  },
}
SCSS
$custom: #c187cd;
$custom-light: #d4abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#c187cd",
  "rgb": {
    "r": 193,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 289.714,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70516,
    "c": 0.11781,
    "h": 320.6
  },
  "luminance": 0.33073
}

Semantic roles & 50–950 ramp

primary
#C187CD
secondary
#D0E3CD
accent
#B43148
background
#FDFAFD
surface
#FAF4FB
border
#D3CED4
text
#141015
muted
#837F83

Preview Lab

Preview with #C187CD

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

Preview Lab → · Contrast checker → · Palette generator →

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