#C187D2#C187D2

#C187D2 is a light, vivid purple. Relative luminance 0.333; OKLCH L 70.7% C 0.123 H 318.4°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#C187D2
RGBrgb(193, 135, 210)
HSLhsl(286, 45%, 68%)
HSVhsv(286, 36%, 82%)
CMYKcmyk(8.1%, 35.7%, 0%, 17.6%)
CIE-LABlab(64.42, 35.07, -29.89)
CIE-LCHlch(64.42, 46.08, 319.56°)
OKLaboklab(70.73% 0.0922 -0.0819)
OKLCHoklch(70.73% 0.123 318.4)
XYZxyz(42.2876, 33.3197, 65.1640)
Luminance0.3332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C187D2 #98D287
analogous
#9B87D2 #C187D2 #D287BE
triadic
#C187D2 #D2C187 #87D2C1
tetradic
#C187D2 #D29B87 #98D287 #87BED2
square
#C187D2 #D29B87 #98D287 #87BED2
split-complementary
#C187D2 #BED287 #87D29B
monochromatic
#8B3DA2 #AA5AC1 #C187D2 #D8B4E3 #EFE0F3

Accessibility & contrast

On white

2.74
#C187D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#C187D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C187D2
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C187D2#FFFFFF#000000##000000
##C187D21.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D98D5
Deuteranopia (green-blind)
#8B9ED0
Tritanopia (blue-blind)
#C190A3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c187d2;
/* rgb */ color: rgb(193, 135, 210);
/* oklch */ color: oklch(70.7% 0.123 318.4);
Tailwind
colors: {
  custom: {
    50: '#d5abe0',
    500: '#c187d2',
    950: '#000000',
  },
}
SCSS
$custom: #c187d2;
$custom-light: #d5abe0;
$custom-dark: #000000;
JSON
{
  "hex": "#c187d2",
  "rgb": {
    "r": 193,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 286.4,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70731,
    "c": 0.12333,
    "h": 318.4
  },
  "luminance": 0.33319
}

Semantic roles & 50–950 ramp

primary
#C187D2
secondary
#D4E6CF
accent
#B92D4D
background
#FDFAFD
surface
#FAF4FB
border
#D3CED4
text
#141015
muted
#837F83

Preview Lab

Preview with #C187D2

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

Preview Lab → · Contrast checker → · Palette generator →

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