#C178CE#C178CE

#C178CE is a light, vivid purple. Relative luminance 0.292; OKLCH L 68.1% C 0.145 H 321.4°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#C178CE
RGBrgb(193, 120, 206)
HSLhsl(291, 47%, 64%)
HSVhsv(291, 42%, 81%)
CMYKcmyk(6.3%, 41.7%, 0%, 19.2%)
CIE-LABlab(60.98, 42.40, -32.97)
CIE-LCHlch(60.98, 53.71, 322.13°)
OKLaboklab(68.09% 0.1134 -0.0906)
OKLCHoklch(68.09% 0.145 321.4)
XYZxyz(39.8481, 29.2281, 61.9231)
Luminance0.2923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C178CE #85CE78
analogous
#9678CE #C178CE #CE78B0
triadic
#C178CE #CEC178 #78CEC1
tetradic
#C178CE #CE9678 #85CE78 #78B0CE
square
#C178CE #CE9678 #85CE78 #78B0CE
split-complementary
#C178CE #B0CE78 #78CE96
monochromatic
#873695 #AC4BBE #C178CE #D6A5DE #EAD2EF

Accessibility & contrast

On white

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

On black

6.85
#C178CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C178CE
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C178CE#FFFFFF#000000##000000
##C178CE1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8ED1
Deuteranopia (green-blind)
#8096CB
Tritanopia (blue-blind)
#C38299
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c178ce;
/* rgb */ color: rgb(193, 120, 206);
/* oklch */ color: oklch(68.1% 0.145 321.4);
Tailwind
colors: {
  custom: {
    50: '#d5a1dd',
    500: '#c178ce',
    950: '#000000',
  },
}
SCSS
$custom: #c178ce;
$custom-light: #d5a1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c178ce",
  "rgb": {
    "r": 193,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 290.93,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68089,
    "c": 0.14515,
    "h": 321.4
  },
  "luminance": 0.29227
}

Semantic roles & 50–950 ramp

primary
#C178CE
secondary
#C6E0C2
accent
#BA2C41
background
#FDFAFD
surface
#FAF3FB
border
#D3CDD4
text
#140F15
muted
#837F83

Preview Lab

Preview with #C178CE

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

Preview Lab → · Contrast checker → · Palette generator →

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