#C478F8#C478F8

#C478F8 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.5% C 0.192 H 309.8°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#C478F8
RGBrgb(196, 120, 248)
HSLhsl(276, 90%, 72%)
HSVhsv(276, 52%, 97%)
CMYKcmyk(21%, 51.6%, 0%, 2.7%)
CIE-LABlab(63.30, 51.95, -52.70)
CIE-LCHlch(63.30, 74.01, 314.59°)
OKLaboklab(70.53% 0.1228 -0.1476)
OKLCHoklch(70.53% 0.192 309.8)
XYZxyz(46.4215, 31.9468, 92.5096)
Luminance0.3195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C478F8 #ACF878
analogous
#8478F8 #C478F8 #F878EC
triadic
#C478F8 #F8C478 #78F8C4
tetradic
#C478F8 #F88478 #ACF878 #78ECF8
square
#C478F8 #F88478 #ACF878 #78ECF8
split-complementary
#C478F8 #ECF878 #78F884
monochromatic
#900CE9 #AB3EF5 #C478F8 #DDB2FB #F2E2FD

Accessibility & contrast

On white

2.84
#C478F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#C478F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C478F8
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C478F8#FFFFFF#000000##000000
##C478F81.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5496FC
Deuteranopia (green-blind)
#6C9AF5
Tritanopia (blue-blind)
#BD8EAD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c478f8;
/* rgb */ color: rgb(196, 120, 248);
/* oklch */ color: oklch(70.5% 0.192 309.8);
Tailwind
colors: {
  custom: {
    50: '#d8a1fb',
    500: '#c478f8',
    950: '#000000',
  },
}
SCSS
$custom: #c478f8;
$custom-light: #d8a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c478f8",
  "rgb": {
    "r": 196,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 275.625,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70532,
    "c": 0.19197,
    "h": 309.8
  },
  "luminance": 0.31946
}

Semantic roles & 50–950 ramp

primary
#C478F8
secondary
#E2F6D5
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C478F8

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

Preview Lab → · Contrast checker → · Palette generator →

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