#C478CD#C478CD

#C478CD is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.4% C 0.146 H 323.1°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#C478CD
RGBrgb(196, 120, 205)
HSLhsl(294, 46%, 64%)
HSVhsv(294, 41%, 80%)
CMYKcmyk(4.4%, 41.5%, 0%, 19.6%)
CIE-LABlab(61.29, 43.11, -31.91)
CIE-LCHlch(61.29, 53.63, 323.49°)
OKLaboklab(68.38% 0.1167 -0.0875)
OKLCHoklch(68.38% 0.146 323.1)
XYZxyz(40.4997, 29.5781, 61.3216)
Luminance0.2958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C478CD #81CD78
analogous
#9978CD #C478CD #CD78AB
triadic
#C478CD #CDC478 #78CDC4
tetradic
#C478CD #CD9978 #81CD78 #78ABCD
square
#C478CD #CD9978 #81CD78 #78ABCD
split-complementary
#C478CD #ABCD78 #78CD99
monochromatic
#8A3794 #B04BBC #C478CD #D8A5DE #EBD1EE

Accessibility & contrast

On white

3.04
#C478CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#C478CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C478CD
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C478CD#FFFFFF#000000##000000
##C478CD1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8ED0
Deuteranopia (green-blind)
#8397CA
Tritanopia (blue-blind)
#C78299
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c478cd;
/* rgb */ color: rgb(196, 120, 205);
/* oklch */ color: oklch(68.4% 0.146 323.1);
Tailwind
colors: {
  custom: {
    50: '#d7a1dc',
    500: '#c478cd',
    950: '#000000',
  },
}
SCSS
$custom: #c478cd;
$custom-light: #d7a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c478cd",
  "rgb": {
    "r": 196,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 293.647,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6838,
    "c": 0.14586,
    "h": 323.1
  },
  "luminance": 0.29576
}

Semantic roles & 50–950 ramp

primary
#C478CD
secondary
#C5DFC1
accent
#B92C3B
background
#FDFAFD
surface
#FAF3FB
border
#D3CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #C478CD

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

Preview Lab → · Contrast checker → · Palette generator →

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