#C478CC#C478CC

#C478CC is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.3% C 0.145 H 323.5°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#C478CC
RGBrgb(196, 120, 204)
HSLhsl(294, 45%, 64%)
HSVhsv(294, 41%, 80%)
CMYKcmyk(3.9%, 41.2%, 0%, 20%)
CIE-LABlab(61.25, 42.92, -31.41)
CIE-LCHlch(61.25, 53.18, 323.80°)
OKLaboklab(68.34% 0.1165 -0.0861)
OKLCHoklch(68.34% 0.145 323.5)
XYZxyz(40.3794, 29.5300, 60.6879)
Luminance0.2953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C478CC #80CC78
analogous
#9A78CC #C478CC #CC78AA
triadic
#C478CC #CCC478 #78CCC4
tetradic
#C478CC #CC9A78 #80CC78 #78AACC
square
#C478CC #CC9A78 #80CC78 #78AACC
split-complementary
#C478CC #AACC78 #78CC9A
monochromatic
#8A3792 #B14CBB #C478CC #D7A4DD #EBD1EE

Accessibility & contrast

On white

3.04
#C478CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#C478CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C478CC
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C478CC#FFFFFF#000000##000000
##C478CC1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8ECF
Deuteranopia (green-blind)
#8397C9
Tritanopia (blue-blind)
#C78198
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c478cc;
/* rgb */ color: rgb(196, 120, 204);
/* oklch */ color: oklch(68.3% 0.145 323.5);
Tailwind
colors: {
  custom: {
    50: '#d7a1dc',
    500: '#c478cc',
    950: '#000000',
  },
}
SCSS
$custom: #c478cc;
$custom-light: #d7a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c478cc",
  "rgb": {
    "r": 196,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 294.286,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68335,
    "c": 0.14485,
    "h": 323.5
  },
  "luminance": 0.29528
}

Semantic roles & 50–950 ramp

primary
#C478CC
secondary
#C4DFC1
accent
#B82D3A
background
#FDFAFD
surface
#FAF3FB
border
#D3CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #C478CC

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

Preview Lab → · Contrast checker → · Palette generator →

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