#C178BF#C178BF

#C178BF is a light, vivid purple. Relative luminance 0.285; OKLCH L 67.4% C 0.130 H 327.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#C178BF
RGBrgb(193, 120, 191)
HSLhsl(302, 37%, 61%)
HSVhsv(302, 38%, 76%)
CMYKcmyk(0%, 37.8%, 1%, 24.3%)
CIE-LABlab(60.37, 39.53, -25.44)
CIE-LCHlch(60.37, 47.01, 327.24°)
OKLaboklab(67.43% 0.1101 -0.0692)
OKLCHoklch(67.43% 0.13 327.9)
XYZxyz(38.1121, 28.5337, 52.7801)
Luminance0.2853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C178BF #78C17A
analogous
#9F78C1 #C178BF #C1789B
triadic
#C178BF #BFC178 #78BFC1
tetradic
#C178BF #C19F78 #78C17A #789BC1
square
#C178BF #C19F78 #78C17A #789BC1
split-complementary
#C178BF #9BC178 #78C19F
monochromatic
#833C81 #AD4FAA #C178BF #D4A2D3 #E8CCE7

Accessibility & contrast

On white

3.13
#C178BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#C178BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C178BF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C178BF#FFFFFF#000000##000000
##C178BF1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#738CC2
Deuteranopia (green-blind)
#8695BD
Tritanopia (blue-blind)
#C67E93
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c178bf;
/* rgb */ color: rgb(193, 120, 191);
/* oklch */ color: oklch(67.4% 0.130 327.9);
Tailwind
colors: {
  custom: {
    50: '#d5a0d2',
    500: '#c178bf',
    950: '#000000',
  },
}
SCSS
$custom: #c178bf;
$custom-light: #d5a0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c178bf",
  "rgb": {
    "r": 193,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 301.644,
    "s": 37.056,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67425,
    "c": 0.13002,
    "h": 327.9
  },
  "luminance": 0.28532
}

Semantic roles & 50–950 ramp

primary
#C178BF
secondary
#BDD8BE
accent
#B03936
background
#FDFAFC
surface
#FAF3F9
border
#D3CDD2
text
#140F14
muted
#837F82

Preview Lab

Preview with #C178BF

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

Preview Lab → · Contrast checker → · Palette generator →

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