#C178CA#C178CA

#C178CA is a light, vivid purple. Relative luminance 0.290; OKLCH L 67.9% C 0.141 H 323.0°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#C178CA
RGBrgb(193, 120, 202)
HSLhsl(293, 44%, 63%)
HSVhsv(293, 41%, 79%)
CMYKcmyk(4.5%, 40.6%, 0%, 20.8%)
CIE-LABlab(60.81, 41.62, -30.98)
CIE-LCHlch(60.81, 51.88, 323.34°)
OKLaboklab(67.91% 0.1126 -0.0849)
OKLCHoklch(67.91% 0.141 323)
XYZxyz(39.3683, 29.0362, 59.3965)
Luminance0.2903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C178CA #81CA78
analogous
#9878CA #C178CA #CA78AA
triadic
#C178CA #CAC178 #78CAC1
tetradic
#C178CA #CA9878 #81CA78 #78AACA
square
#C178CA #CA9878 #81CA78 #78AACA
split-complementary
#C178CA #AACA78 #78CA98
monochromatic
#86388F #AD4CB9 #C178CA #D5A4DB #E9D0ED

Accessibility & contrast

On white

3.09
#C178CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#C178CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C178CA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C178CA#FFFFFF#000000##000000
##C178CA1.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8DCD
Deuteranopia (green-blind)
#8296C7
Tritanopia (blue-blind)
#C48198
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c178ca;
/* rgb */ color: rgb(193, 120, 202);
/* oklch */ color: oklch(67.9% 0.141 323.0);
Tailwind
colors: {
  custom: {
    50: '#d5a0da',
    500: '#c178ca',
    950: '#000000',
  },
}
SCSS
$custom: #c178ca;
$custom-light: #d5a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#c178ca",
  "rgb": {
    "r": 193,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 293.415,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67907,
    "c": 0.141,
    "h": 323
  },
  "luminance": 0.29035
}

Semantic roles & 50–950 ramp

primary
#C178CA
secondary
#C3DEC0
accent
#B72F3E
background
#FDFAFD
surface
#FAF3FA
border
#D3CDD3
text
#140F15
muted
#837F83

Preview Lab

Preview with #C178CA

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

Preview Lab → · Contrast checker → · Palette generator →

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