#C478CB#C478CB

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

Color values

HEX#C478CB
RGBrgb(196, 120, 203)
HSLhsl(295, 44%, 63%)
HSVhsv(295, 41%, 80%)
CMYKcmyk(3.4%, 40.9%, 0%, 20.4%)
CIE-LABlab(61.20, 42.72, -30.91)
CIE-LCHlch(61.20, 52.73, 324.12°)
OKLaboklab(68.29% 0.1163 -0.0846)
OKLCHoklch(68.29% 0.144 323.9)
XYZxyz(40.2598, 29.4821, 60.0583)
Luminance0.2948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C478CB #7FCB78
analogous
#9A78CB #C478CB #CB78A8
triadic
#C478CB #CBC478 #78CBC4
tetradic
#C478CB #CB9A78 #7FCB78 #78A8CB
square
#C478CB #CB9A78 #7FCB78 #78A8CB
split-complementary
#C478CB #A8CB78 #78CB9A
monochromatic
#893891 #B14CBA #C478CB #D7A4DC #EBD0ED

Accessibility & contrast

On white

3.05
#C478CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#C478CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C478CB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C478CB#FFFFFF#000000##000000
##C478CB1.003.056.906.90
#FFFFFF3.051.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c478cb;
/* rgb */ color: rgb(196, 120, 203);
/* oklch */ color: oklch(68.3% 0.144 323.9);
Tailwind
colors: {
  custom: {
    50: '#d7a1db',
    500: '#c478cb',
    950: '#000000',
  },
}
SCSS
$custom: #c478cb;
$custom-light: #d7a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#c478cb",
  "rgb": {
    "r": 196,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 294.94,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6829,
    "c": 0.14384,
    "h": 323.9
  },
  "luminance": 0.29481
}

Semantic roles & 50–950 ramp

primary
#C478CB
secondary
#C3DEC1
accent
#B82E3A
background
#FDFAFD
surface
#FAF3FB
border
#D3CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #C478CB

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

Preview Lab → · Contrast checker → · Palette generator →

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