#C478FB#C478FB

#C478FB is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.7% C 0.195 H 309.0°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#C478FB
RGBrgb(196, 120, 251)
HSLhsl(275, 94%, 73%)
HSVhsv(275, 52%, 98%)
CMYKcmyk(21.9%, 52.2%, 0%, 1.6%)
CIE-LABlab(63.45, 52.61, -54.11)
CIE-LCHlch(63.45, 75.47, 314.19°)
OKLaboklab(70.7% 0.123 -0.1517)
OKLCHoklch(70.7% 0.195 309)
XYZxyz(46.8906, 32.1345, 94.9805)
Luminance0.3213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C478FB #AFFB78
analogous
#8278FB #C478FB #FB78F1
triadic
#C478FB #FBC478 #78FBC4
tetradic
#C478FB #FB8278 #AFFB78 #78F1FB
square
#C478FB #FB8278 #AFFB78 #78F1FB
split-complementary
#C478FB #F1FB78 #78FB82
monochromatic
#8F07F1 #AA3DF9 #C478FB #DEB3FD #F2E1FE

Accessibility & contrast

On white

2.83
#C478FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#C478FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C478FB
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C478FB#FFFFFF#000000##000000
##C478FB1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5296FF
Deuteranopia (green-blind)
#6A9BF8
Tritanopia (blue-blind)
#BD8FAE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c478fb;
/* rgb */ color: rgb(196, 120, 251);
/* oklch */ color: oklch(70.7% 0.195 309.0);
Tailwind
colors: {
  custom: {
    50: '#d9a1fd',
    500: '#c478fb',
    950: '#000000',
  },
}
SCSS
$custom: #c478fb;
$custom-light: #d9a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c478fb",
  "rgb": {
    "r": 196,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 274.809,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70697,
    "c": 0.19528,
    "h": 309
  },
  "luminance": 0.32134
}

Semantic roles & 50–950 ramp

primary
#C478FB
secondary
#E3F6D5
accent
#E60060
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C478FB

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

Preview Lab → · Contrast checker → · Palette generator →

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