#C478DF#C478DF

#C478DF is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.2% C 0.165 H 316.7°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#C478DF
RGBrgb(196, 120, 223)
HSLhsl(284, 62%, 67%)
HSVhsv(284, 46%, 87%)
CMYKcmyk(12.1%, 46.2%, 0%, 12.5%)
CIE-LABlab(62.08, 46.68, -40.77)
CIE-LCHlch(62.08, 61.97, 318.87°)
OKLaboklab(69.23% 0.1199 -0.1129)
OKLCHoklch(69.23% 0.165 316.7)
XYZxyz(42.7988, 30.4977, 73.4299)
Luminance0.3050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C478DF #93DF78
analogous
#9178DF #C478DF #DF78C7
triadic
#C478DF #DFC478 #78DFC4
tetradic
#C478DF #DF9178 #93DF78 #78C7DF
square
#C478DF #DF9178 #93DF78 #78C7DF
split-complementary
#C478DF #C7DF78 #78DF91
monochromatic
#8F2AB2 #AE47D3 #C478DF #DAA9EB #EFDBF6

Accessibility & contrast

On white

2.96
#C478DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#C478DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C478DF
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C478DF#FFFFFF#000000##000000
##C478DF1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6591E3
Deuteranopia (green-blind)
#7A98DC
Tritanopia (blue-blind)
#C387A1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c478df;
/* rgb */ color: rgb(196, 120, 223);
/* oklch */ color: oklch(69.2% 0.165 316.7);
Tailwind
colors: {
  custom: {
    50: '#d8a1e9',
    500: '#c478df',
    950: '#000000',
  },
}
SCSS
$custom: #c478df;
$custom-light: #d8a1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c478df",
  "rgb": {
    "r": 196,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 284.272,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69232,
    "c": 0.1647,
    "h": 316.7
  },
  "luminance": 0.30496
}

Semantic roles & 50–950 ramp

primary
#C478DF
secondary
#D2EAC9
accent
#C91C4A
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C478DF

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

Preview Lab → · Contrast checker → · Palette generator →

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