#C178DD#C178DD

#C178DD is a light, vivid purple. Relative luminance 0.300; OKLCH L 68.8% C 0.161 H 316.1°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#C178DD
RGBrgb(193, 120, 221)
HSLhsl(283, 60%, 67%)
HSVhsv(283, 46%, 87%)
CMYKcmyk(12.7%, 45.7%, 0%, 13.3%)
CIE-LABlab(61.65, 45.42, -40.35)
CIE-LCHlch(61.65, 60.76, 318.38°)
OKLaboklab(68.8% 0.1161 -0.1118)
OKLCHoklch(68.8% 0.161 316.1)
XYZxyz(41.7580, 29.9920, 71.9819)
Luminance0.2999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C178DD #94DD78
analogous
#8F78DD #C178DD #DD78C7
triadic
#C178DD #DDC178 #78DDC1
tetradic
#C178DD #DD8F78 #94DD78 #78C7DD
square
#C178DD #DD8F78 #94DD78 #78C7DD
split-complementary
#C178DD #C7DD78 #78DD8F
monochromatic
#8A2CAF #AB47D1 #C178DD #D7A9E9 #EEDAF6

Accessibility & contrast

On white

3.00
#C178DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#C178DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C178DD
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C178DD#FFFFFF#000000##000000
##C178DD1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6590E1
Deuteranopia (green-blind)
#7997DA
Tritanopia (blue-blind)
#C086A0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c178dd;
/* rgb */ color: rgb(193, 120, 221);
/* oklch */ color: oklch(68.8% 0.161 316.1);
Tailwind
colors: {
  custom: {
    50: '#d5a1e8',
    500: '#c178dd',
    950: '#000000',
  },
}
SCSS
$custom: #c178dd;
$custom-light: #d5a1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c178dd",
  "rgb": {
    "r": 193,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 283.366,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68804,
    "c": 0.16115,
    "h": 316.1
  },
  "luminance": 0.29991
}

Semantic roles & 50–950 ramp

primary
#C178DD
secondary
#D1E9C8
accent
#C71E4D
background
#FDFAFE
surface
#FAF3FC
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #C178DD

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

Preview Lab → · Contrast checker → · Palette generator →

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