#C477DC#C477DC

#C477DC is a light, vivid purple. Relative luminance 0.301; OKLCH L 68.9% C 0.163 H 317.8°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#C477DC
RGBrgb(196, 119, 220)
HSLhsl(286, 59%, 66%)
HSVhsv(286, 46%, 86%)
CMYKcmyk(10.9%, 45.9%, 0%, 13.7%)
CIE-LABlab(61.74, 46.60, -39.63)
CIE-LCHlch(61.74, 61.17, 319.62°)
OKLaboklab(68.93% 0.1208 -0.1096)
OKLCHoklch(68.93% 0.163 317.8)
XYZxyz(42.2782, 30.0981, 71.2787)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C477DC #8FDC77
analogous
#9277DC #C477DC #DC77C1
triadic
#C477DC #DCC477 #77DCC4
tetradic
#C477DC #DC9277 #8FDC77 #77C1DC
square
#C477DC #DC9277 #8FDC77 #77C1DC
split-complementary
#C477DC #C1DC77 #77DC92
monochromatic
#8E2CAC #AF46CF #C477DC #D9A8E9 #EED8F5

Accessibility & contrast

On white

2.99
#C477DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#C477DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C477DC
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C477DC#FFFFFF#000000##000000
##C477DC1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6690E0
Deuteranopia (green-blind)
#7B98D9
Tritanopia (blue-blind)
#C4859F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c477dc;
/* rgb */ color: rgb(196, 119, 220);
/* oklch */ color: oklch(68.9% 0.163 317.8);
Tailwind
colors: {
  custom: {
    50: '#d8a0e7',
    500: '#c477dc',
    950: '#000000',
  },
}
SCSS
$custom: #c477dc;
$custom-light: #d8a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c477dc",
  "rgb": {
    "r": 196,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 285.743,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68932,
    "c": 0.16316,
    "h": 317.8
  },
  "luminance": 0.30097
}

Semantic roles & 50–950 ramp

primary
#C477DC
secondary
#CFE8C7
accent
#C71F47
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C477DC

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

Preview Lab → · Contrast checker → · Palette generator →

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