#C187DD#C187DD

#C187DD is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.2% C 0.136 H 314.2°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#C187DD
RGBrgb(193, 135, 221)
HSLhsl(280, 56%, 70%)
HSVhsv(280, 39%, 87%)
CMYKcmyk(12.7%, 38.9%, 0%, 13.3%)
CIE-LABlab(64.87, 37.34, -35.31)
CIE-LCHlch(64.87, 51.39, 316.59°)
OKLaboklab(71.22% 0.0947 -0.0974)
OKLCHoklch(71.22% 0.136 314.2)
XYZxyz(43.7053, 33.8868, 72.6311)
Luminance0.3389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C187DD #A3DD87
analogous
#9687DD #C187DD #DD87CE
triadic
#C187DD #DDC187 #87DDC1
tetradic
#C187DD #DD9687 #A3DD87 #87CEDD
square
#C187DD #DD9687 #A3DD87 #87CEDD
split-complementary
#C187DD #CEDD87 #87DD96
monochromatic
#8C34B6 #A857CF #C187DD #DAB7EB #F2E6F8

Accessibility & contrast

On white

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

On black

7.78
#C187DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C187DD
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C187DD#FFFFFF#000000##000000
##C187DD1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#789AE0
Deuteranopia (green-blind)
#869FDA
Tritanopia (blue-blind)
#BF93A8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c187dd;
/* rgb */ color: rgb(193, 135, 221);
/* oklch */ color: oklch(71.2% 0.136 314.2);
Tailwind
colors: {
  custom: {
    50: '#d5abe8',
    500: '#c187dd',
    950: '#000000',
  },
}
SCSS
$custom: #c187dd;
$custom-light: #d5abe8;
$custom-dark: #000000;
JSON
{
  "hex": "#c187dd",
  "rgb": {
    "r": 193,
    "g": 135,
    "b": 221
  },
  "hsl": {
    "h": 280.465,
    "s": 55.844,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71223,
    "c": 0.13581,
    "h": 314.2
  },
  "luminance": 0.33886
}

Semantic roles & 50–950 ramp

primary
#C187DD
secondary
#DCECD4
accent
#C32257
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #C187DD

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

Preview Lab → · Contrast checker → · Palette generator →

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