#C178CD#C178CD

#C178CD is a light, vivid purple. Relative luminance 0.292; OKLCH L 68.0% C 0.144 H 321.8°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#C178CD
RGBrgb(193, 120, 205)
HSLhsl(292, 46%, 64%)
HSVhsv(292, 41%, 80%)
CMYKcmyk(5.9%, 41.5%, 0%, 19.6%)
CIE-LABlab(60.94, 42.20, -32.48)
CIE-LCHlch(60.94, 53.25, 322.42°)
OKLaboklab(68.04% 0.1132 -0.0892)
OKLCHoklch(68.04% 0.144 321.8)
XYZxyz(39.7270, 29.1796, 61.2853)
Luminance0.2918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C178CD #84CD78
analogous
#9678CD #C178CD #CD78AE
triadic
#C178CD #CDC178 #78CDC1
tetradic
#C178CD #CD9678 #84CD78 #78AECD
square
#C178CD #CD9678 #84CD78 #78AECD
split-complementary
#C178CD #AECD78 #78CD96
monochromatic
#873794 #AC4BBC #C178CD #D6A5DE #EAD1EE

Accessibility & contrast

On white

3.07
#C178CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#C178CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C178CD
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C178CD#FFFFFF#000000##000000
##C178CD1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8ED0
Deuteranopia (green-blind)
#8196CA
Tritanopia (blue-blind)
#C38299
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c178cd;
/* rgb */ color: rgb(193, 120, 205);
/* oklch */ color: oklch(68.0% 0.144 321.8);
Tailwind
colors: {
  custom: {
    50: '#d5a0dc',
    500: '#c178cd',
    950: '#000000',
  },
}
SCSS
$custom: #c178cd;
$custom-light: #d5a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c178cd",
  "rgb": {
    "r": 193,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 291.529,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68043,
    "c": 0.14411,
    "h": 321.8
  },
  "luminance": 0.29178
}

Semantic roles & 50–950 ramp

primary
#C178CD
secondary
#C6DFC1
accent
#B92C40
background
#FDFAFD
surface
#FAF3FB
border
#D3CDD4
text
#140F15
muted
#837F83

Preview Lab

Preview with #C178CD

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

Preview Lab → · Contrast checker → · Palette generator →

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