#C178EA#C178EA

#C178EA is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.5% C 0.175 H 312.2°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#C178EA
RGBrgb(193, 120, 234)
HSLhsl(278, 73%, 69%)
HSVhsv(278, 49%, 92%)
CMYKcmyk(17.5%, 48.7%, 0%, 8.2%)
CIE-LABlab(62.26, 48.15, -46.62)
CIE-LCHlch(62.26, 67.02, 315.92°)
OKLaboklab(69.46% 0.1178 -0.13)
OKLCHoklch(69.46% 0.175 312.2)
XYZxyz(43.5575, 30.7118, 81.4594)
Luminance0.3071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C178EA #A1EA78
analogous
#8878EA #C178EA #EA78DA
triadic
#C178EA #EAC178 #78EAC1
tetradic
#C178EA #EA8878 #A1EA78 #78DAEA
square
#C178EA #EA8878 #A1EA78 #78DAEA
split-complementary
#C178EA #DAEA78 #78EA88
monochromatic
#8C1FC8 #A943E2 #C178EA #D9ADF2 #F2E2FA

Accessibility & contrast

On white

2.94
#C178EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#C178EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C178EA
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C178EA#FFFFFF#000000##000000
##C178EA1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EE
Deuteranopia (green-blind)
#7398E7
Tritanopia (blue-blind)
#BD8AA6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c178ea;
/* rgb */ color: rgb(193, 120, 234);
/* oklch */ color: oklch(69.5% 0.175 312.2);
Tailwind
colors: {
  custom: {
    50: '#d6a1f1',
    500: '#c178ea',
    950: '#000000',
  },
}
SCSS
$custom: #c178ea;
$custom-light: #d6a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c178ea",
  "rgb": {
    "r": 193,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 278.421,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69463,
    "c": 0.17542,
    "h": 312.2
  },
  "luminance": 0.30711
}

Semantic roles & 50–950 ramp

primary
#C178EA
secondary
#DAEFCE
accent
#D51057
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C178EA

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

Preview Lab → · Contrast checker → · Palette generator →

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