#C478DC#C478DC

#C478DC is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.1% C 0.162 H 317.7°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#C478DC
RGBrgb(196, 120, 220)
HSLhsl(286, 59%, 67%)
HSVhsv(286, 45%, 86%)
CMYKcmyk(10.9%, 45.5%, 0%, 13.7%)
CIE-LABlab(61.94, 46.07, -39.30)
CIE-LCHlch(61.94, 60.56, 319.53°)
OKLaboklab(69.08% 0.1194 -0.1087)
OKLCHoklch(69.08% 0.162 317.7)
XYZxyz(42.3979, 30.3373, 71.3186)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C478DC #90DC78
analogous
#9278DC #C478DC #DC78C2
triadic
#C478DC #DCC478 #78DCC4
tetradic
#C478DC #DC9278 #90DC78 #78C2DC
square
#C478DC #DC9278 #90DC78 #78C2DC
split-complementary
#C478DC #C2DC78 #78DC92
monochromatic
#8E2DAD #AF47CF #C478DC #D9A9E9 #EED9F5

Accessibility & contrast

On white

2.97
#C478DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#C478DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C478DC
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C478DC#FFFFFF#000000##000000
##C478DC1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6791E0
Deuteranopia (green-blind)
#7C98D9
Tritanopia (blue-blind)
#C486A0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c478dc;
/* rgb */ color: rgb(196, 120, 220);
/* oklch */ color: oklch(69.1% 0.162 317.7);
Tailwind
colors: {
  custom: {
    50: '#d8a1e7',
    500: '#c478dc',
    950: '#000000',
  },
}
SCSS
$custom: #c478dc;
$custom-light: #d8a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c478dc",
  "rgb": {
    "r": 196,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 285.6,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69085,
    "c": 0.1615,
    "h": 317.7
  },
  "luminance": 0.30336
}

Semantic roles & 50–950 ramp

primary
#C478DC
secondary
#D0E8C8
accent
#C61F47
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C478DC

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

Preview Lab → · Contrast checker → · Palette generator →

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