#C478DA#C478DA

#C478DA is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.0% C 0.159 H 318.4°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#C478DA
RGBrgb(196, 120, 218)
HSLhsl(287, 57%, 66%)
HSVhsv(287, 45%, 85%)
CMYKcmyk(10.1%, 45%, 0%, 14.5%)
CIE-LABlab(61.85, 45.67, -38.33)
CIE-LCHlch(61.85, 59.62, 319.99°)
OKLaboklab(68.99% 0.1191 -0.1059)
OKLCHoklch(68.99% 0.159 318.4)
XYZxyz(42.1346, 30.2320, 69.9319)
Luminance0.3023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C478DA #8EDA78
analogous
#9378DA #C478DA #DA78BF
triadic
#C478DA #DAC478 #78DAC4
tetradic
#C478DA #DA9378 #8EDA78 #78BFDA
square
#C478DA #DA9378 #8EDA78 #78BFDA
split-complementary
#C478DA #BFDA78 #78DA93
monochromatic
#8E2EA9 #AF48CD #C478DA #D9A8E7 #EED8F4

Accessibility & contrast

On white

2.98
#C478DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#C478DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C478DA
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C478DA#FFFFFF#000000##000000
##C478DA1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6890DD
Deuteranopia (green-blind)
#7D98D7
Tritanopia (blue-blind)
#C4859F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c478da;
/* rgb */ color: rgb(196, 120, 218);
/* oklch */ color: oklch(69.0% 0.159 318.4);
Tailwind
colors: {
  custom: {
    50: '#d7a1e6',
    500: '#c478da',
    950: '#000000',
  },
}
SCSS
$custom: #c478da;
$custom-light: #d7a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c478da",
  "rgb": {
    "r": 196,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 286.531,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68989,
    "c": 0.15937,
    "h": 318.4
  },
  "luminance": 0.30231
}

Semantic roles & 50–950 ramp

primary
#C478DA
secondary
#CEE7C7
accent
#C52146
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C478DA

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

Preview Lab → · Contrast checker → · Palette generator →

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