#C478EB#C478EB

#C478EB is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.8% C 0.178 H 313.1°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#C478EB
RGBrgb(196, 120, 235)
HSLhsl(280, 74%, 70%)
HSVhsv(280, 49%, 92%)
CMYKcmyk(16.6%, 48.9%, 0%, 7.8%)
CIE-LABlab(62.65, 49.17, -46.55)
CIE-LCHlch(62.65, 67.71, 316.57°)
OKLaboklab(69.84% 0.1215 -0.1297)
OKLCHoklch(69.84% 0.178 313.1)
XYZxyz(44.4743, 31.1679, 82.2543)
Luminance0.3117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C478EB #9FEB78
analogous
#8B78EB #C478EB #EB78D9
triadic
#C478EB #EBC478 #78EBC4
tetradic
#C478EB #EB8B78 #9FEB78 #78D9EB
square
#C478EB #EB8B78 #9FEB78 #78D9EB
split-complementary
#C478EB #D9EB78 #78EB8B
monochromatic
#901ECB #AD43E3 #C478EB #DBADF3 #F3E3FB

Accessibility & contrast

On white

2.90
#C478EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#C478EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C478EB
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C478EB#FFFFFF#000000##000000
##C478EB1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EF
Deuteranopia (green-blind)
#7499E8
Tritanopia (blue-blind)
#C08AA7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c478eb;
/* rgb */ color: rgb(196, 120, 235);
/* oklch */ color: oklch(69.8% 0.178 313.1);
Tailwind
colors: {
  custom: {
    50: '#d8a1f2',
    500: '#c478eb',
    950: '#000000',
  },
}
SCSS
$custom: #c478eb;
$custom-light: #d8a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c478eb",
  "rgb": {
    "r": 196,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 279.652,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6984,
    "c": 0.17769,
    "h": 313.1
  },
  "luminance": 0.31167
}

Semantic roles & 50–950 ramp

primary
#C478EB
secondary
#DAF0CF
accent
#D60F53
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C478EB

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

Preview Lab → · Contrast checker → · Palette generator →

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