#C187DB#C187DB

#C187DB is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.1% C 0.134 H 314.9°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#C187DB
RGBrgb(193, 135, 219)
HSLhsl(281, 54%, 69%)
HSVhsv(281, 38%, 86%)
CMYKcmyk(11.9%, 38.4%, 0%, 14.1%)
CIE-LABlab(64.79, 36.92, -34.33)
CIE-LCHlch(64.79, 50.42, 317.08°)
OKLaboklab(71.13% 0.0942 -0.0946)
OKLCHoklch(71.13% 0.134 314.9)
XYZxyz(43.4405, 33.7808, 71.2361)
Luminance0.3378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C187DB #A1DB87
analogous
#9787DB #C187DB #DB87CB
triadic
#C187DB #DBC187 #87DBC1
tetradic
#C187DB #DB9787 #A1DB87 #87CBDB
square
#C187DB #DB9787 #A1DB87 #87CBDB
split-complementary
#C187DB #CBDB87 #87DB97
monochromatic
#8C35B2 #A958CD #C187DB #D9B6E9 #F2E5F7

Accessibility & contrast

On white

2.71
#C187DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#C187DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C187DB
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C187DB#FFFFFF#000000##000000
##C187DB1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#799ADE
Deuteranopia (green-blind)
#879FD9
Tritanopia (blue-blind)
#C092A7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c187db;
/* rgb */ color: rgb(193, 135, 219);
/* oklch */ color: oklch(71.1% 0.134 314.9);
Tailwind
colors: {
  custom: {
    50: '#d5abe6',
    500: '#c187db',
    950: '#000000',
  },
}
SCSS
$custom: #c187db;
$custom-light: #d5abe6;
$custom-dark: #000000;
JSON
{
  "hex": "#c187db",
  "rgb": {
    "r": 193,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 281.429,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71131,
    "c": 0.13351,
    "h": 314.9
  },
  "luminance": 0.3378
}

Semantic roles & 50–950 ramp

primary
#C187DB
secondary
#DAEBD3
accent
#C12455
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #C187DB

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

Preview Lab → · Contrast checker → · Palette generator →

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