#C477F1#C477F1

#C477F1 is a light, vivid violet. Relative luminance 0.313; OKLCH L 70.0% C 0.186 H 311.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#C477F1
RGBrgb(196, 119, 241)
HSLhsl(278, 81%, 71%)
HSVhsv(278, 51%, 95%)
CMYKcmyk(18.7%, 50.6%, 0%, 5.5%)
CIE-LABlab(62.74, 50.96, -49.72)
CIE-LCHlch(62.74, 71.20, 315.71°)
OKLaboklab(70.01% 0.1235 -0.1389)
OKLCHoklch(70.01% 0.186 311.6)
XYZxyz(45.2361, 31.2812, 86.8569)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C477F1 #A4F177
analogous
#8777F1 #C477F1 #F177E1
triadic
#C477F1 #F1C477 #77F1C4
tetradic
#C477F1 #F18777 #A4F177 #77E1F1
square
#C477F1 #F18777 #A4F177 #77E1F1
split-complementary
#C477F1 #E1F177 #77F187
monochromatic
#9016D7 #AC40EB #C477F1 #DCAEF7 #F3E3FC

Accessibility & contrast

On white

2.89
#C477F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#C477F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C477F1
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C477F1#FFFFFF#000000##000000
##C477F11.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F5
Deuteranopia (green-blind)
#7099EE
Tritanopia (blue-blind)
#BF8BA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c477f1;
/* rgb */ color: rgb(196, 119, 241);
/* oklch */ color: oklch(70.0% 0.186 311.6);
Tailwind
colors: {
  custom: {
    50: '#d8a0f6',
    500: '#c477f1',
    950: '#000000',
  },
}
SCSS
$custom: #c477f1;
$custom-light: #d8a0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c477f1",
  "rgb": {
    "r": 196,
    "g": 119,
    "b": 241
  },
  "hsl": {
    "h": 277.869,
    "s": 81.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70007,
    "c": 0.18584,
    "h": 311.6
  },
  "luminance": 0.3128
}

Semantic roles & 50–950 ramp

primary
#C477F1
secondary
#DEF2D1
accent
#DE0857
background
#FDFAFF
surface
#FBF3FE
border
#D4CDD6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C477F1

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

Preview Lab → · Contrast checker → · Palette generator →

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