#C478FD#C478FD

#C478FD is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.8% C 0.197 H 308.6°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#C478FD
RGBrgb(196, 120, 253)
HSLhsl(274, 97%, 73%)
HSVhsv(274, 53%, 99%)
CMYKcmyk(22.5%, 52.6%, 0%, 0.8%)
CIE-LABlab(63.56, 53.05, -55.04)
CIE-LCHlch(63.56, 76.44, 313.94°)
OKLaboklab(70.81% 0.1231 -0.1544)
OKLCHoklch(70.81% 0.197 308.6)
XYZxyz(47.2076, 32.2612, 96.6496)
Luminance0.3226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C478FD #B1FD78
analogous
#8178FD #C478FD #FD78F3
triadic
#C478FD #FDC478 #78FDC4
tetradic
#C478FD #FD8178 #B1FD78 #78F3FD
square
#C478FD #FD8178 #B1FD78 #78F3FD
split-complementary
#C478FD #F3FD78 #78FD81
monochromatic
#8F04F7 #AA3CFC #C478FD #DEB4FE #F2E1FF

Accessibility & contrast

On white

2.82
#C478FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#C478FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C478FD
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C478FD#FFFFFF#000000##000000
##C478FD1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#699BFA
Tritanopia (blue-blind)
#BC8FAF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c478fd;
/* rgb */ color: rgb(196, 120, 253);
/* oklch */ color: oklch(70.8% 0.197 308.6);
Tailwind
colors: {
  custom: {
    50: '#d9a1ff',
    500: '#c478fd',
    950: '#000000',
  },
}
SCSS
$custom: #c478fd;
$custom-light: #d9a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c478fd",
  "rgb": {
    "r": 196,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 274.286,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70808,
    "c": 0.19749,
    "h": 308.6
  },
  "luminance": 0.32261
}

Semantic roles & 50–950 ramp

primary
#C478FD
secondary
#E3F7D4
accent
#E60062
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C478FD

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

Preview Lab → · Contrast checker → · Palette generator →

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