#C178BD#C178BD

#C178BD is a light, vivid purple. Relative luminance 0.284; OKLCH L 67.3% C 0.128 H 328.8°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#C178BD
RGBrgb(193, 120, 189)
HSLhsl(303, 37%, 61%)
HSVhsv(303, 38%, 76%)
CMYKcmyk(0%, 37.8%, 2.1%, 24.3%)
CIE-LABlab(60.29, 39.16, -24.42)
CIE-LCHlch(60.29, 46.15, 328.05°)
OKLaboklab(67.34% 0.1096 -0.0663)
OKLCHoklch(67.34% 0.128 328.8)
XYZxyz(37.8935, 28.4462, 51.6289)
Luminance0.2844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C178BD #78C17C
analogous
#A178C1 #C178BD #C17899
triadic
#C178BD #BDC178 #78BDC1
tetradic
#C178BD #C1A178 #78C17C #7899C1
square
#C178BD #C1A178 #78C17C #7899C1
split-complementary
#C178BD #99C178 #78C1A1
monochromatic
#833C7F #AD4FA7 #C178BD #D4A2D2 #E8CCE6

Accessibility & contrast

On white

3.14
#C178BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#C178BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C178BD
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C178BD#FFFFFF#000000##000000
##C178BD1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#748BC0
Deuteranopia (green-blind)
#8795BB
Tritanopia (blue-blind)
#C67E92
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c178bd;
/* rgb */ color: rgb(193, 120, 189);
/* oklch */ color: oklch(67.3% 0.128 328.8);
Tailwind
colors: {
  custom: {
    50: '#d5a0d1',
    500: '#c178bd',
    950: '#000000',
  },
}
SCSS
$custom: #c178bd;
$custom-light: #d5a0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c178bd",
  "rgb": {
    "r": 193,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 303.288,
    "s": 37.056,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67341,
    "c": 0.1281,
    "h": 328.8
  },
  "luminance": 0.28445
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C178BD

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

Preview Lab → · Contrast checker → · Palette generator →

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