#C178CC#C178CC

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

Color values

HEX#C178CC
RGBrgb(193, 120, 204)
HSLhsl(292, 45%, 64%)
HSVhsv(292, 41%, 80%)
CMYKcmyk(5.4%, 41.2%, 0%, 20%)
CIE-LABlab(60.90, 42.01, -31.98)
CIE-LCHlch(60.90, 52.79, 322.72°)
OKLaboklab(68% 0.113 -0.0877)
OKLCHoklch(68% 0.143 322.2)
XYZxyz(39.6067, 29.1315, 60.6517)
Luminance0.2913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C178CC #83CC78
analogous
#9778CC #C178CC #CC78AD
triadic
#C178CC #CCC178 #78CCC1
tetradic
#C178CC #CC9778 #83CC78 #78ADCC
square
#C178CC #CC9778 #83CC78 #78ADCC
split-complementary
#C178CC #ADCC78 #78CC97
monochromatic
#863792 #AD4CBB #C178CC #D5A4DD #EAD1EE

Accessibility & contrast

On white

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

On black

6.83
#C178CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C178CC
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C178CC#FFFFFF#000000##000000
##C178CC1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8ECF
Deuteranopia (green-blind)
#8196C9
Tritanopia (blue-blind)
#C38298
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c178cc;
/* rgb */ color: rgb(193, 120, 204);
/* oklch */ color: oklch(68.0% 0.143 322.2);
Tailwind
colors: {
  custom: {
    50: '#d5a0dc',
    500: '#c178cc',
    950: '#000000',
  },
}
SCSS
$custom: #c178cc;
$custom-light: #d5a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c178cc",
  "rgb": {
    "r": 193,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 292.143,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67997,
    "c": 0.14307,
    "h": 322.2
  },
  "luminance": 0.2913
}

Semantic roles & 50–950 ramp

primary
#C178CC
secondary
#C5DFC1
accent
#B82D3F
background
#FDFAFD
surface
#FAF3FB
border
#D3CDD4
text
#140F15
muted
#837F83

Preview Lab

Preview with #C178CC

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

Preview Lab → · Contrast checker → · Palette generator →

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