#C178FE#C178FE

#C178FE is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.5% C 0.198 H 307.2°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#C178FE
RGBrgb(193, 120, 254)
HSLhsl(273, 99%, 73%)
HSVhsv(273, 53%, 100%)
CMYKcmyk(24%, 52.8%, 0%, 0.4%)
CIE-LABlab(63.28, 52.51, -56.05)
CIE-LCHlch(63.28, 76.81, 313.13°)
OKLaboklab(70.55% 0.1196 -0.1574)
OKLCHoklch(70.55% 0.198 307.2)
XYZxyz(46.5945, 31.9267, 97.4545)
Luminance0.3193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C178FE #B5FE78
analogous
#7E78FE #C178FE #FE78F8
triadic
#C178FE #FEC178 #78FEC1
tetradic
#C178FE #FE7E78 #B5FE78 #78F8FE
square
#C178FE #FE7E78 #B5FE78 #78F8FE
split-complementary
#C178FE #F8FE78 #78FE7E
monochromatic
#8902FA #A53BFE #C178FE #DDB5FE #F1E1FF

Accessibility & contrast

On white

2.84
#C178FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#C178FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C178FE
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C178FE#FFFFFF#000000##000000
##C178FE1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E96FF
Deuteranopia (green-blind)
#669AFB
Tritanopia (blue-blind)
#B890B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c178fe;
/* rgb */ color: rgb(193, 120, 254);
/* oklch */ color: oklch(70.5% 0.198 307.2);
Tailwind
colors: {
  custom: {
    50: '#d7a1ff',
    500: '#c178fe',
    950: '#000000',
  },
}
SCSS
$custom: #c178fe;
$custom-light: #d7a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c178fe",
  "rgb": {
    "r": 193,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 272.687,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70548,
    "c": 0.1977,
    "h": 307.2
  },
  "luminance": 0.31926
}

Semantic roles & 50–950 ramp

primary
#C178FE
secondary
#E4F7D4
accent
#E60068
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C178FE

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

Preview Lab → · Contrast checker → · Palette generator →

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