#C477DB#C477DB

#C477DB is a light, vivid purple. Relative luminance 0.300; OKLCH L 68.9% C 0.162 H 318.1°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#C477DB
RGBrgb(196, 119, 219)
HSLhsl(286, 58%, 66%)
HSVhsv(286, 46%, 86%)
CMYKcmyk(10.5%, 45.7%, 0%, 14.1%)
CIE-LABlab(61.69, 46.39, -39.14)
CIE-LCHlch(61.69, 60.70, 319.85°)
OKLaboklab(68.88% 0.1207 -0.1082)
OKLCHoklch(68.88% 0.162 318.1)
XYZxyz(42.1462, 30.0453, 70.5833)
Luminance0.3004 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C477DB #8EDB77
analogous
#9277DB #C477DB #DB77C0
triadic
#C477DB #DBC477 #77DBC4
tetradic
#C477DB #DB9277 #8EDB77 #77C0DB
square
#C477DB #DB9277 #8EDB77 #77C0DB
split-complementary
#C477DB #C0DB77 #77DB92
monochromatic
#8E2DAA #AF47CE #C477DB #D9A7E8 #EED8F5

Accessibility & contrast

On white

3.00
#C477DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#C477DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C477DB
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C477DB#FFFFFF#000000##000000
##C477DB1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c477db;
/* rgb */ color: rgb(196, 119, 219);
/* oklch */ color: oklch(68.9% 0.162 318.1);
Tailwind
colors: {
  custom: {
    50: '#d8a0e6',
    500: '#c477db',
    950: '#000000',
  },
}
SCSS
$custom: #c477db;
$custom-light: #d8a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c477db",
  "rgb": {
    "r": 196,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 286.2,
    "s": 58.14,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68884,
    "c": 0.1621,
    "h": 318.1
  },
  "luminance": 0.30044
}

Semantic roles & 50–950 ramp

primary
#C477DB
secondary
#CEE7C7
accent
#C62046
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C477DB

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

Preview Lab → · Contrast checker → · Palette generator →

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