#C178CF#C178CF

#C178CF is a light, vivid purple. Relative luminance 0.293; OKLCH L 68.1% C 0.146 H 321.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#C178CF
RGBrgb(193, 120, 207)
HSLhsl(290, 48%, 64%)
HSVhsv(290, 42%, 81%)
CMYKcmyk(6.8%, 42%, 0%, 18.8%)
CIE-LABlab(61.03, 42.60, -33.47)
CIE-LCHlch(61.03, 54.17, 321.84°)
OKLaboklab(68.14% 0.1136 -0.092)
OKLCHoklch(68.14% 0.146 321)
XYZxyz(39.9699, 29.2768, 62.5649)
Luminance0.2928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C178CF #86CF78
analogous
#9678CF #C178CF #CF78B2
triadic
#C178CF #CFC178 #78CFC1
tetradic
#C178CF #CF9678 #86CF78 #78B2CF
square
#C178CF #CF9678 #86CF78 #78B2CF
split-complementary
#C178CF #B2CF78 #78CF96
monochromatic
#873697 #AC4BBF #C178CF #D6A5DF #EAD2EF

Accessibility & contrast

On white

3.06
#C178CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#C178CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C178CF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C178CF#FFFFFF#000000##000000
##C178CF1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8ED2
Deuteranopia (green-blind)
#8096CC
Tritanopia (blue-blind)
#C3839A
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c178cf;
/* rgb */ color: rgb(193, 120, 207);
/* oklch */ color: oklch(68.1% 0.146 321.0);
Tailwind
colors: {
  custom: {
    50: '#d5a1de',
    500: '#c178cf',
    950: '#000000',
  },
}
SCSS
$custom: #c178cf;
$custom-light: #d5a1de;
$custom-dark: #000000;
JSON
{
  "hex": "#c178cf",
  "rgb": {
    "r": 193,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 290.345,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68135,
    "c": 0.14619,
    "h": 321
  },
  "luminance": 0.29275
}

Semantic roles & 50–950 ramp

primary
#C178CF
secondary
#C7E1C2
accent
#BB2B42
background
#FDFAFD
surface
#FAF3FB
border
#D3CDD4
text
#140F15
muted
#837F83

Preview Lab

Preview with #C178CF

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

Preview Lab → · Contrast checker → · Palette generator →

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