#C178ED#C178ED

#C178ED is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.6% C 0.179 H 311.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#C178ED
RGBrgb(193, 120, 237)
HSLhsl(277, 76%, 70%)
HSVhsv(277, 49%, 93%)
CMYKcmyk(18.6%, 49.4%, 0%, 7.1%)
CIE-LABlab(62.41, 48.79, -48.05)
CIE-LCHlch(62.41, 68.48, 315.43°)
OKLaboklab(69.62% 0.1182 -0.1341)
OKLCHoklch(69.62% 0.179 311.4)
XYZxyz(43.9921, 30.8857, 83.7484)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C178ED #A4ED78
analogous
#8678ED #C178ED #ED78DF
triadic
#C178ED #EDC178 #78EDC1
tetradic
#C178ED #ED8678 #A4ED78 #78DFED
square
#C178ED #ED8678 #A4ED78 #78DFED
split-complementary
#C178ED #DFED78 #78ED86
monochromatic
#8C1CCF #A842E6 #C178ED #DAAEF4 #F3E4FB

Accessibility & contrast

On white

2.93
#C178ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#C178ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C178ED
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C178ED#FFFFFF#000000##000000
##C178ED1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F1
Deuteranopia (green-blind)
#7198EA
Tritanopia (blue-blind)
#BC8BA8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c178ed;
/* rgb */ color: rgb(193, 120, 237);
/* oklch */ color: oklch(69.6% 0.179 311.4);
Tailwind
colors: {
  custom: {
    50: '#d6a1f3',
    500: '#c178ed',
    950: '#000000',
  },
}
SCSS
$custom: #c178ed;
$custom-light: #d6a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c178ed",
  "rgb": {
    "r": 193,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 277.436,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.69621,
    "c": 0.17874,
    "h": 311.4
  },
  "luminance": 0.30885
}

Semantic roles & 50–950 ramp

primary
#C178ED
secondary
#DCF1D0
accent
#D90D59
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C178ED

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

Preview Lab → · Contrast checker → · Palette generator →

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