#C478FF#C478FF

#C478FF is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.9% C 0.200 H 308.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#C478FF
RGBrgb(196, 120, 255)
HSLhsl(274, 100%, 74%)
HSVhsv(274, 53%, 100%)
CMYKcmyk(23.1%, 52.9%, 0%, 0%)
CIE-LABlab(63.66, 53.49, -55.97)
CIE-LCHlch(63.66, 77.42, 313.70°)
OKLaboklab(70.92% 0.1233 -0.1571)
OKLCHoklch(70.92% 0.2 308.1)
XYZxyz(47.5278, 32.3893, 98.3363)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C478FF #B3FF78
analogous
#8078FF #C478FF #FF78F6
triadic
#C478FF #FFC478 #78FFC4
tetradic
#C478FF #FF8078 #B3FF78 #78F6FF
square
#C478FF #FF8078 #B3FF78 #78F6FF
split-complementary
#C478FF #F6FF78 #78FF80
monochromatic
#8E00FD #A93BFF #C478FF #DFB5FF #F2E0FF

Accessibility & contrast

On white

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

On black

7.48
#C478FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C478FF
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C478FF#FFFFFF#000000##000000
##C478FF1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E97FF
Deuteranopia (green-blind)
#679BFC
Tritanopia (blue-blind)
#BB90B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c478ff;
/* rgb */ color: rgb(196, 120, 255);
/* oklch */ color: oklch(70.9% 0.200 308.1);
Tailwind
colors: {
  custom: {
    50: '#d9a1ff',
    500: '#c478ff',
    950: '#000000',
  },
}
SCSS
$custom: #c478ff;
$custom-light: #d9a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c478ff",
  "rgb": {
    "r": 196,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 273.778,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7092,
    "c": 0.19971,
    "h": 308.1
  },
  "luminance": 0.32389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C478FF

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

Preview Lab → · Contrast checker → · Palette generator →

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