#C178CB#C178CB

#C178CB is a light, vivid purple. Relative luminance 0.291; OKLCH L 68.0% C 0.142 H 322.6°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#C178CB
RGBrgb(193, 120, 203)
HSLhsl(293, 44%, 63%)
HSVhsv(293, 41%, 80%)
CMYKcmyk(4.9%, 40.9%, 0%, 20.4%)
CIE-LABlab(60.86, 41.81, -31.48)
CIE-LCHlch(60.86, 52.34, 323.03°)
OKLaboklab(67.95% 0.1128 -0.0863)
OKLCHoklch(67.95% 0.142 322.6)
XYZxyz(39.4871, 29.0837, 60.0220)
Luminance0.2908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C178CB #82CB78
analogous
#9778CB #C178CB #CB78AB
triadic
#C178CB #CBC178 #78CBC1
tetradic
#C178CB #CB9778 #82CB78 #78ABCB
square
#C178CB #CB9778 #82CB78 #78ABCB
split-complementary
#C178CB #ABCB78 #78CB97
monochromatic
#863891 #AD4CBA #C178CB #D5A4DC #EAD0ED

Accessibility & contrast

On white

3.08
#C178CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#C178CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C178CB
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C178CB#FFFFFF#000000##000000
##C178CB1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8DCE
Deuteranopia (green-blind)
#8296C8
Tritanopia (blue-blind)
#C38198
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c178cb;
/* rgb */ color: rgb(193, 120, 203);
/* oklch */ color: oklch(68.0% 0.142 322.6);
Tailwind
colors: {
  custom: {
    50: '#d5a0db',
    500: '#c178cb',
    950: '#000000',
  },
}
SCSS
$custom: #c178cb;
$custom-light: #d5a0db;
$custom-dark: #000000;
JSON
{
  "hex": "#c178cb",
  "rgb": {
    "r": 193,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 292.771,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67952,
    "c": 0.14204,
    "h": 322.6
  },
  "luminance": 0.29082
}

Semantic roles & 50–950 ramp

primary
#C178CB
secondary
#C4DEC1
accent
#B82E3F
background
#FDFAFD
surface
#FAF3FB
border
#D3CDD4
text
#140F15
muted
#837F83

Preview Lab

Preview with #C178CB

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

Preview Lab → · Contrast checker → · Palette generator →

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