#C178E4#C178E4

#C178E4 is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.2% C 0.169 H 313.9°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#C178E4
RGBrgb(193, 120, 228)
HSLhsl(281, 67%, 68%)
HSVhsv(281, 47%, 89%)
CMYKcmyk(15.4%, 47.4%, 0%, 10.6%)
CIE-LABlab(61.97, 46.87, -43.74)
CIE-LCHlch(61.97, 64.12, 316.98°)
OKLaboklab(69.15% 0.1171 -0.1216)
OKLCHoklch(69.15% 0.169 313.9)
XYZxyz(42.7101, 30.3729, 76.9964)
Luminance0.3037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C178E4 #9BE478
analogous
#8B78E4 #C178E4 #E478D1
triadic
#C178E4 #E4C178 #78E4C1
tetradic
#C178E4 #E48B78 #9BE478 #78D1E4
square
#C178E4 #E48B78 #9BE478 #78D1E4
split-complementary
#C178E4 #D1E478 #78E48B
monochromatic
#8B26BC #AA45DA #C178E4 #D8ABEE #F0DEF8

Accessibility & contrast

On white

2.97
#C178E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#C178E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C178E4
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C178E4#FFFFFF#000000##000000
##C178E41.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6192E8
Deuteranopia (green-blind)
#7698E1
Tritanopia (blue-blind)
#BE88A3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c178e4;
/* rgb */ color: rgb(193, 120, 228);
/* oklch */ color: oklch(69.2% 0.169 313.9);
Tailwind
colors: {
  custom: {
    50: '#d6a1ed',
    500: '#c178e4',
    950: '#000000',
  },
}
SCSS
$custom: #c178e4;
$custom-light: #d6a1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#c178e4",
  "rgb": {
    "r": 193,
    "g": 120,
    "b": 228
  },
  "hsl": {
    "h": 280.556,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69154,
    "c": 0.1688,
    "h": 313.9
  },
  "luminance": 0.30372
}

Semantic roles & 50–950 ramp

primary
#C178E4
secondary
#D6ECCC
accent
#CF1752
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #C178E4

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

Preview Lab → · Contrast checker → · Palette generator →

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