#C178DA#C178DA

#C178DA is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.7% C 0.158 H 317.0°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#C178DA
RGBrgb(193, 120, 218)
HSLhsl(285, 57%, 66%)
HSVhsv(285, 45%, 85%)
CMYKcmyk(11.5%, 45%, 0%, 14.5%)
CIE-LABlab(61.51, 44.80, -38.89)
CIE-LCHlch(61.51, 59.33, 319.04°)
OKLaboklab(68.66% 0.1156 -0.1076)
OKLCHoklch(68.66% 0.158 317)
XYZxyz(41.3619, 29.8336, 69.8957)
Luminance0.2983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C178DA #91DA78
analogous
#9078DA #C178DA #DA78C2
triadic
#C178DA #DAC178 #78DAC1
tetradic
#C178DA #DA9078 #91DA78 #78C2DA
square
#C178DA #DA9078 #91DA78 #78C2DA
split-complementary
#C178DA #C2DA78 #78DA90
monochromatic
#8A2EA9 #AB48CD #C178DA #D7A8E7 #EDD8F4

Accessibility & contrast

On white

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

On black

6.97
#C178DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C178DA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C178DA#FFFFFF#000000##000000
##C178DA1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6790DD
Deuteranopia (green-blind)
#7B97D7
Tritanopia (blue-blind)
#C0869F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c178da;
/* rgb */ color: rgb(193, 120, 218);
/* oklch */ color: oklch(68.7% 0.158 317.0);
Tailwind
colors: {
  custom: {
    50: '#d5a1e6',
    500: '#c178da',
    950: '#000000',
  },
}
SCSS
$custom: #c178da;
$custom-light: #d5a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c178da",
  "rgb": {
    "r": 193,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 284.694,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68657,
    "c": 0.1579,
    "h": 317
  },
  "luminance": 0.29832
}

Semantic roles & 50–950 ramp

primary
#C178DA
secondary
#CFE7C7
accent
#C5214B
background
#FDFAFE
surface
#FAF3FC
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #C178DA

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

Preview Lab → · Contrast checker → · Palette generator →

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