#C178FD#C178FD

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

Color values

HEX#C178FD
RGBrgb(193, 120, 253)
HSLhsl(273, 97%, 73%)
HSVhsv(273, 53%, 99%)
CMYKcmyk(23.7%, 52.6%, 0%, 0.8%)
CIE-LABlab(63.23, 52.29, -55.58)
CIE-LCHlch(63.23, 76.31, 313.25°)
OKLaboklab(70.49% 0.1195 -0.1561)
OKLCHoklch(70.49% 0.197 307.4)
XYZxyz(46.4348, 31.8628, 96.6134)
Luminance0.3186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C178FD #B4FD78
analogous
#7E78FD #C178FD #FD78F7
triadic
#C178FD #FDC178 #78FDC1
tetradic
#C178FD #FD7E78 #B4FD78 #78F7FD
square
#C178FD #FD7E78 #B4FD78 #78F7FD
split-complementary
#C178FD #F7FD78 #78FD7E
monochromatic
#8904F7 #A53CFC #C178FD #DDB4FE #F1E1FF

Accessibility & contrast

On white

2.85
#C178FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#C178FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C178FD
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C178FD#FFFFFF#000000##000000
##C178FD1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#669AFA
Tritanopia (blue-blind)
#B890AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c178fd;
/* rgb */ color: rgb(193, 120, 253);
/* oklch */ color: oklch(70.5% 0.197 307.4);
Tailwind
colors: {
  custom: {
    50: '#d7a1ff',
    500: '#c178fd',
    950: '#000000',
  },
}
SCSS
$custom: #c178fd;
$custom-light: #d7a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c178fd",
  "rgb": {
    "r": 193,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 272.932,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70492,
    "c": 0.19658,
    "h": 307.4
  },
  "luminance": 0.31862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C178FD

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

Preview Lab → · Contrast checker → · Palette generator →

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