#C178DB#C178DB

#C178DB is a light, vivid purple. Relative luminance 0.299; OKLCH L 68.7% C 0.159 H 316.7°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#C178DB
RGBrgb(193, 120, 219)
HSLhsl(284, 58%, 66%)
HSVhsv(284, 45%, 86%)
CMYKcmyk(11.9%, 45.2%, 0%, 14.1%)
CIE-LABlab(61.56, 45.01, -39.38)
CIE-LCHlch(61.56, 59.80, 318.82°)
OKLaboklab(68.71% 0.1157 -0.109)
OKLCHoklch(68.71% 0.159 316.7)
XYZxyz(41.4931, 29.8861, 70.5869)
Luminance0.2989 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C178DB #92DB78
analogous
#9078DB #C178DB #DB78C4
triadic
#C178DB #DBC178 #78DBC1
tetradic
#C178DB #DB9078 #92DB78 #78C4DB
square
#C178DB #DB9078 #92DB78 #78C4DB
split-complementary
#C178DB #C4DB78 #78DB90
monochromatic
#8A2EAB #AB48CE #C178DB #D7A8E8 #EDD9F5

Accessibility & contrast

On white

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

On black

6.98
#C178DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C178DB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C178DB#FFFFFF#000000##000000
##C178DB1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6690DE
Deuteranopia (green-blind)
#7A97D8
Tritanopia (blue-blind)
#C0869F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c178db;
/* rgb */ color: rgb(193, 120, 219);
/* oklch */ color: oklch(68.7% 0.159 316.7);
Tailwind
colors: {
  custom: {
    50: '#d5a1e6',
    500: '#c178db',
    950: '#000000',
  },
}
SCSS
$custom: #c178db;
$custom-light: #d5a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c178db",
  "rgb": {
    "r": 193,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 284.242,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68705,
    "c": 0.15897,
    "h": 316.7
  },
  "luminance": 0.29885
}

Semantic roles & 50–950 ramp

primary
#C178DB
secondary
#D0E7C7
accent
#C5204B
background
#FDFAFE
surface
#FAF3FC
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #C178DB

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

Preview Lab → · Contrast checker → · Palette generator →

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