#C178F6#C178F6

#C178F6 is a light, vivid violet. Relative luminance 0.314; OKLCH L 70.1% C 0.189 H 309.1°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#C178F6
RGBrgb(193, 120, 246)
HSLhsl(275, 88%, 72%)
HSVhsv(275, 51%, 96%)
CMYKcmyk(21.5%, 51.2%, 0%, 3.5%)
CIE-LABlab(62.86, 50.74, -52.31)
CIE-LCHlch(62.86, 72.88, 314.13°)
OKLaboklab(70.1% 0.119 -0.1465)
OKLCHoklch(70.1% 0.189 309.1)
XYZxyz(45.3401, 31.4249, 90.8480)
Luminance0.3142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C178F6 #ADF678
analogous
#8278F6 #C178F6 #F678EC
triadic
#C178F6 #F6C178 #78F6C1
tetradic
#C178F6 #F68278 #ADF678 #78ECF6
square
#C178F6 #F68278 #ADF678 #78ECF6
split-complementary
#C178F6 #ECF678 #78F682
monochromatic
#8B0FE4 #A73FF2 #C178F6 #DBB1FA #F2E2FD

Accessibility & contrast

On white

2.88
#C178F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#C178F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C178F6
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C178F6#FFFFFF#000000##000000
##C178F61.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5595FA
Deuteranopia (green-blind)
#6B99F3
Tritanopia (blue-blind)
#BA8EAC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c178f6;
/* rgb */ color: rgb(193, 120, 246);
/* oklch */ color: oklch(70.1% 0.189 309.1);
Tailwind
colors: {
  custom: {
    50: '#d6a1fa',
    500: '#c178f6',
    950: '#000000',
  },
}
SCSS
$custom: #c178f6;
$custom-light: #d6a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c178f6",
  "rgb": {
    "r": 193,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 274.762,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70104,
    "c": 0.18876,
    "h": 309.1
  },
  "luminance": 0.31424
}

Semantic roles & 50–950 ramp

primary
#C178F6
secondary
#E2F5D5
accent
#E40161
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C178F6

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

Preview Lab → · Contrast checker → · Palette generator →

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