#C477FA#C477FA

#C477FA is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.5% C 0.196 H 309.4°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#C477FA
RGBrgb(196, 119, 250)
HSLhsl(275, 93%, 72%)
HSVhsv(275, 52%, 98%)
CMYKcmyk(21.6%, 52.4%, 0%, 2%)
CIE-LABlab(63.20, 52.91, -53.95)
CIE-LCHlch(63.20, 75.56, 314.44°)
OKLaboklab(70.5% 0.1242 -0.1512)
OKLCHoklch(70.5% 0.196 309.4)
XYZxyz(46.6138, 31.8323, 94.1126)
Luminance0.3183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C477FA #ADFA77
analogous
#8277FA #C477FA #FA77EF
triadic
#C477FA #FAC477 #77FAC4
tetradic
#C477FA #FA8277 #ADFA77 #77EFFA
square
#C477FA #FA8277 #ADFA77 #77EFFA
split-complementary
#C477FA #EFFA77 #77FA82
monochromatic
#8F09EE #AA3CF8 #C477FA #DEB2FC #F2E1FE

Accessibility & contrast

On white

2.85
#C477FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#C477FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C477FA
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C477FA#FFFFFF#000000##000000
##C477FA1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FE
Deuteranopia (green-blind)
#6A9AF7
Tritanopia (blue-blind)
#BD8EAE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c477fa;
/* rgb */ color: rgb(196, 119, 250);
/* oklch */ color: oklch(70.5% 0.196 309.4);
Tailwind
colors: {
  custom: {
    50: '#d9a1fc',
    500: '#c477fa',
    950: '#000000',
  },
}
SCSS
$custom: #c477fa;
$custom-light: #d9a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c477fa",
  "rgb": {
    "r": 196,
    "g": 119,
    "b": 250
  },
  "hsl": {
    "h": 275.267,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70496,
    "c": 0.19571,
    "h": 309.4
  },
  "luminance": 0.31832
}

Semantic roles & 50–950 ramp

primary
#C477FA
secondary
#E3F6D5
accent
#E6005F
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C477FA

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

Preview Lab → · Contrast checker → · Palette generator →

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