#C178DC#C178DC

#C178DC is a light, vivid purple. Relative luminance 0.299; OKLCH L 68.8% C 0.160 H 316.4°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#C178DC
RGBrgb(193, 120, 220)
HSLhsl(284, 59%, 67%)
HSVhsv(284, 45%, 86%)
CMYKcmyk(12.3%, 45.5%, 0%, 13.7%)
CIE-LABlab(61.60, 45.21, -39.87)
CIE-LCHlch(61.60, 60.28, 318.60°)
OKLaboklab(68.75% 0.1159 -0.1104)
OKLCHoklch(68.75% 0.16 316.4)
XYZxyz(41.6251, 29.9389, 71.2824)
Luminance0.2994 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C178DC #93DC78
analogous
#8F78DC #C178DC #DC78C5
triadic
#C178DC #DCC178 #78DCC1
tetradic
#C178DC #DC8F78 #93DC78 #78C5DC
square
#C178DC #DC8F78 #93DC78 #78C5DC
split-complementary
#C178DC #C5DC78 #78DC8F
monochromatic
#8A2DAD #AB47CF #C178DC #D7A9E9 #EED9F5

Accessibility & contrast

On white

3.01
#C178DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#C178DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C178DC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C178DC#FFFFFF#000000##000000
##C178DC1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6690E0
Deuteranopia (green-blind)
#7A97D9
Tritanopia (blue-blind)
#C086A0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c178dc;
/* rgb */ color: rgb(193, 120, 220);
/* oklch */ color: oklch(68.8% 0.160 316.4);
Tailwind
colors: {
  custom: {
    50: '#d5a1e7',
    500: '#c178dc',
    950: '#000000',
  },
}
SCSS
$custom: #c178dc;
$custom-light: #d5a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c178dc",
  "rgb": {
    "r": 193,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 283.8,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68754,
    "c": 0.16006,
    "h": 316.4
  },
  "luminance": 0.29938
}

Semantic roles & 50–950 ramp

primary
#C178DC
secondary
#D0E8C8
accent
#C61F4C
background
#FDFAFE
surface
#FAF3FC
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #C178DC

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

Preview Lab → · Contrast checker → · Palette generator →

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