#C478EA#C478EA

#C478EA is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.8% C 0.177 H 313.4°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#C478EA
RGBrgb(196, 120, 234)
HSLhsl(280, 73%, 69%)
HSVhsv(280, 49%, 92%)
CMYKcmyk(16.2%, 48.7%, 0%, 8.2%)
CIE-LABlab(62.60, 48.96, -46.07)
CIE-LCHlch(62.60, 67.23, 316.74°)
OKLaboklab(69.79% 0.1214 -0.1283)
OKLCHoklch(69.79% 0.177 313.4)
XYZxyz(44.3302, 31.1103, 81.4956)
Luminance0.3111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C478EA #9EEA78
analogous
#8B78EA #C478EA #EA78D7
triadic
#C478EA #EAC478 #78EAC4
tetradic
#C478EA #EA8B78 #9EEA78 #78D7EA
square
#C478EA #EA8B78 #9EEA78 #78D7EA
split-complementary
#C478EA #D7EA78 #78EA8B
monochromatic
#901FC8 #AD43E2 #C478EA #DBADF2 #F2E2FA

Accessibility & contrast

On white

2.91
#C478EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#C478EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C478EA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C478EA#FFFFFF#000000##000000
##C478EA1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F93EE
Deuteranopia (green-blind)
#7599E7
Tritanopia (blue-blind)
#C18AA6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c478ea;
/* rgb */ color: rgb(196, 120, 234);
/* oklch */ color: oklch(69.8% 0.177 313.4);
Tailwind
colors: {
  custom: {
    50: '#d8a1f1',
    500: '#c478ea',
    950: '#000000',
  },
}
SCSS
$custom: #c478ea;
$custom-light: #d8a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c478ea",
  "rgb": {
    "r": 196,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 280,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69788,
    "c": 0.17661,
    "h": 313.4
  },
  "luminance": 0.31109
}

Semantic roles & 50–950 ramp

primary
#C478EA
secondary
#D9EFCE
accent
#D51052
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C478EA

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

Preview Lab → · Contrast checker → · Palette generator →

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