#C478BD#C478BD

#C478BD is a light, vivid purple. Relative luminance 0.288; OKLCH L 67.7% C 0.130 H 330.2°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#C478BD
RGBrgb(196, 120, 189)
HSLhsl(306, 39%, 62%)
HSVhsv(306, 39%, 77%)
CMYKcmyk(0%, 38.8%, 3.6%, 23.1%)
CIE-LABlab(60.64, 40.12, -23.85)
CIE-LCHlch(60.64, 46.67, 329.27°)
OKLaboklab(67.69% 0.1131 -0.0646)
OKLCHoklch(67.69% 0.13 330.2)
XYZxyz(38.6662, 28.8447, 51.6651)
Luminance0.2884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C478BD #78C47F
analogous
#A578C4 #C478BD #C47897
triadic
#C478BD #BDC478 #78BDC4
tetradic
#C478BD #C4A578 #78C47F #7897C4
square
#C478BD #C4A578 #78C47F #7897C4
split-complementary
#C478BD #97C478 #78C4A5
monochromatic
#873B80 #B14DA8 #C478BD #D7A3D2 #E9CDE7

Accessibility & contrast

On white

3.10
#C478BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#C478BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C478BD
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C478BD#FFFFFF#000000##000000
##C478BD1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#758CC0
Deuteranopia (green-blind)
#8996BB
Tritanopia (blue-blind)
#CA7D92
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c478bd;
/* rgb */ color: rgb(196, 120, 189);
/* oklch */ color: oklch(67.7% 0.130 330.2);
Tailwind
colors: {
  custom: {
    50: '#d7a0d1',
    500: '#c478bd',
    950: '#000000',
  },
}
SCSS
$custom: #c478bd;
$custom-light: #d7a0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c478bd",
  "rgb": {
    "r": 196,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 305.526,
    "s": 39.175,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67685,
    "c": 0.13024,
    "h": 330.2
  },
  "luminance": 0.28843
}

Semantic roles & 50–950 ramp

primary
#C478BD
secondary
#BEDAC0
accent
#B23F33
background
#FDFAFC
surface
#FAF3F9
border
#D3CDD2
text
#140F14
muted
#837F82

Preview Lab

Preview with #C478BD

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

Preview Lab → · Contrast checker → · Palette generator →

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