#C478FE#C478FE

#C478FE is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.9% C 0.199 H 308.3°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#C478FE
RGBrgb(196, 120, 254)
HSLhsl(274, 99%, 73%)
HSVhsv(274, 53%, 100%)
CMYKcmyk(22.8%, 52.8%, 0%, 0.4%)
CIE-LABlab(63.61, 53.27, -55.51)
CIE-LCHlch(63.61, 76.93, 313.82°)
OKLaboklab(70.86% 0.1232 -0.1558)
OKLCHoklch(70.86% 0.199 308.3)
XYZxyz(47.3673, 32.3251, 97.4908)
Luminance0.3232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C478FE #B2FE78
analogous
#8178FE #C478FE #FE78F5
triadic
#C478FE #FEC478 #78FEC4
tetradic
#C478FE #FE8178 #B2FE78 #78F5FE
square
#C478FE #FE8178 #B2FE78 #78F5FE
split-complementary
#C478FE #F5FE78 #78FE81
monochromatic
#8E02FA #A93BFE #C478FE #DFB5FE #F2E1FF

Accessibility & contrast

On white

2.81
#C478FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#C478FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C478FE
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C478FE#FFFFFF#000000##000000
##C478FE1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F97FF
Deuteranopia (green-blind)
#689BFB
Tritanopia (blue-blind)
#BC90B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c478fe;
/* rgb */ color: rgb(196, 120, 254);
/* oklch */ color: oklch(70.9% 0.199 308.3);
Tailwind
colors: {
  custom: {
    50: '#d9a1ff',
    500: '#c478fe',
    950: '#000000',
  },
}
SCSS
$custom: #c478fe;
$custom-light: #d9a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c478fe",
  "rgb": {
    "r": 196,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 274.03,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70864,
    "c": 0.1986,
    "h": 308.3
  },
  "luminance": 0.32324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C478FE

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

Preview Lab → · Contrast checker → · Palette generator →

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