#C187DE#C187DE

#C187DE is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.3% C 0.137 H 313.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#C187DE
RGBrgb(193, 135, 222)
HSLhsl(280, 57%, 70%)
HSVhsv(280, 39%, 87%)
CMYKcmyk(13.1%, 39.2%, 0%, 12.9%)
CIE-LABlab(64.92, 37.55, -35.80)
CIE-LCHlch(64.92, 51.88, 316.36°)
OKLaboklab(71.27% 0.0949 -0.0988)
OKLCHoklch(71.27% 0.137 313.8)
XYZxyz(43.8390, 33.9402, 73.3348)
Luminance0.3394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C187DE #A4DE87
analogous
#9587DE #C187DE #DE87D0
triadic
#C187DE #DEC187 #87DEC1
tetradic
#C187DE #DE9587 #A4DE87 #87D0DE
square
#C187DE #DE9587 #A4DE87 #87D0DE
split-complementary
#C187DE #D0DE87 #87DE95
monochromatic
#8C33B8 #A857D1 #C187DE #DAB7EB #F3E7F8

Accessibility & contrast

On white

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

On black

7.79
#C187DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C187DE
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C187DE#FFFFFF#000000##000000
##C187DE1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c187de;
/* rgb */ color: rgb(193, 135, 222);
/* oklch */ color: oklch(71.3% 0.137 313.8);
Tailwind
colors: {
  custom: {
    50: '#d5abe8',
    500: '#c187de',
    950: '#000000',
  },
}
SCSS
$custom: #c187de;
$custom-light: #d5abe8;
$custom-dark: #000000;
JSON
{
  "hex": "#c187de",
  "rgb": {
    "r": 193,
    "g": 135,
    "b": 222
  },
  "hsl": {
    "h": 280,
    "s": 56.863,
    "l": 70
  },
  "oklch": {
    "l": 0.71269,
    "c": 0.13696,
    "h": 313.8
  },
  "luminance": 0.33939
}

Semantic roles & 50–950 ramp

primary
#C187DE
secondary
#DCEDD4
accent
#C42158
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #C187DE

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

Preview Lab → · Contrast checker → · Palette generator →

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