#C478BB#C478BB

#C478BB is a light, vivid purple. Relative luminance 0.288; OKLCH L 67.6% C 0.128 H 331.2°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#C478BB
RGBrgb(196, 120, 187)
HSLhsl(307, 39%, 62%)
HSVhsv(307, 39%, 77%)
CMYKcmyk(0%, 38.8%, 4.6%, 23.1%)
CIE-LABlab(60.57, 39.76, -22.83)
CIE-LCHlch(60.57, 45.85, 330.14°)
OKLaboklab(67.6% 0.1126 -0.0618)
OKLCHoklch(67.6% 0.128 331.2)
XYZxyz(38.4506, 28.7584, 50.5297)
Luminance0.2876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C478BB #78C481
analogous
#A778C4 #C478BB #C47895
triadic
#C478BB #BBC478 #78BBC4
tetradic
#C478BB #C4A778 #78C481 #7895C4
square
#C478BB #C4A778 #78C481 #7895C4
split-complementary
#C478BB #95C478 #78C4A7
monochromatic
#873B7E #B14DA5 #C478BB #D7A3D0 #E9CDE6

Accessibility & contrast

On white

3.11
#C478BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#C478BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C478BB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C478BB#FFFFFF#000000##000000
##C478BB1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#768BBD
Deuteranopia (green-blind)
#8996B9
Tritanopia (blue-blind)
#CA7D91
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c478bb;
/* rgb */ color: rgb(196, 120, 187);
/* oklch */ color: oklch(67.6% 0.128 331.2);
Tailwind
colors: {
  custom: {
    50: '#d7a0cf',
    500: '#c478bb',
    950: '#000000',
  },
}
SCSS
$custom: #c478bb;
$custom-light: #d7a0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c478bb",
  "rgb": {
    "r": 196,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 307.105,
    "s": 39.175,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67602,
    "c": 0.1284,
    "h": 331.2
  },
  "luminance": 0.28757
}

Semantic roles & 50–950 ramp

primary
#C478BB
secondary
#BEDAC1
accent
#B24233
background
#FDFAFC
surface
#FAF3F9
border
#D3CDD2
text
#140F14
muted
#837F82

Preview Lab

Preview with #C478BB

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

Preview Lab → · Contrast checker → · Palette generator →

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