#C478DD#C478DD

#C478DD is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.1% C 0.163 H 317.4°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#C478DD
RGBrgb(196, 120, 221)
HSLhsl(285, 60%, 67%)
HSVhsv(285, 46%, 87%)
CMYKcmyk(11.3%, 45.7%, 0%, 13.3%)
CIE-LABlab(61.99, 46.27, -39.79)
CIE-LCHlch(61.99, 61.03, 319.31°)
OKLaboklab(69.13% 0.1196 -0.1101)
OKLCHoklch(69.13% 0.163 317.4)
XYZxyz(42.5307, 30.3905, 72.0182)
Luminance0.3039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C478DD #91DD78
analogous
#9278DD #C478DD #DD78C3
triadic
#C478DD #DDC478 #78DDC4
tetradic
#C478DD #DD9278 #91DD78 #78C3DD
square
#C478DD #DD9278 #91DD78 #78C3DD
split-complementary
#C478DD #C3DD78 #78DD92
monochromatic
#8E2CAF #AF47D1 #C478DD #D9A9E9 #EFDAF6

Accessibility & contrast

On white

2.97
#C478DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#C478DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C478DD
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C478DD#FFFFFF#000000##000000
##C478DD1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6691E1
Deuteranopia (green-blind)
#7B98DA
Tritanopia (blue-blind)
#C486A0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c478dd;
/* rgb */ color: rgb(196, 120, 221);
/* oklch */ color: oklch(69.1% 0.163 317.4);
Tailwind
colors: {
  custom: {
    50: '#d8a1e8',
    500: '#c478dd',
    950: '#000000',
  },
}
SCSS
$custom: #c478dd;
$custom-light: #d8a1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c478dd",
  "rgb": {
    "r": 196,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 285.149,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69134,
    "c": 0.16256,
    "h": 317.4
  },
  "luminance": 0.30389
}

Semantic roles & 50–950 ramp

primary
#C478DD
secondary
#D0E9C8
accent
#C71E48
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C478DD

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

Preview Lab → · Contrast checker → · Palette generator →

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