#C178EE#C178EE

#C178EE is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.7% C 0.180 H 311.1°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#C178EE
RGBrgb(193, 120, 238)
HSLhsl(277, 78%, 70%)
HSVhsv(277, 50%, 93%)
CMYKcmyk(18.9%, 49.6%, 0%, 6.7%)
CIE-LABlab(62.46, 49.00, -48.53)
CIE-LCHlch(62.46, 68.97, 315.28°)
OKLaboklab(69.67% 0.1183 -0.1355)
OKLCHoklch(69.67% 0.18 311.1)
XYZxyz(44.1386, 30.9443, 84.5200)
Luminance0.3094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C178EE #A5EE78
analogous
#8678EE #C178EE #EE78E0
triadic
#C178EE #EEC178 #78EEC1
tetradic
#C178EE #EE8678 #A5EE78 #78E0EE
square
#C178EE #EE8678 #A5EE78 #78E0EE
split-complementary
#C178EE #E0EE78 #78EE86
monochromatic
#8C1AD1 #A842E7 #C178EE #DAAEF5 #F3E4FC

Accessibility & contrast

On white

2.92
#C178EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#C178EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C178EE
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C178EE#FFFFFF#000000##000000
##C178EE1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F2
Deuteranopia (green-blind)
#7098EB
Tritanopia (blue-blind)
#BC8BA8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c178ee;
/* rgb */ color: rgb(193, 120, 238);
/* oklch */ color: oklch(69.7% 0.180 311.1);
Tailwind
colors: {
  custom: {
    50: '#d6a1f4',
    500: '#c178ee',
    950: '#000000',
  },
}
SCSS
$custom: #c178ee;
$custom-light: #d6a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c178ee",
  "rgb": {
    "r": 193,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 277.119,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69674,
    "c": 0.17985,
    "h": 311.1
  },
  "luminance": 0.30943
}

Semantic roles & 50–950 ramp

primary
#C178EE
secondary
#DDF1D1
accent
#DA0C5A
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C178EE

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

Preview Lab → · Contrast checker → · Palette generator →

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