#C477FE#C477FE

#C477FE is a light, highly saturated violet. Relative luminance 0.321; OKLCH L 70.7% C 0.200 H 308.5°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#C477FE
RGBrgb(196, 119, 254)
HSLhsl(274, 99%, 73%)
HSVhsv(274, 53%, 100%)
CMYKcmyk(22.8%, 53.1%, 0%, 0.4%)
CIE-LABlab(63.41, 53.78, -55.82)
CIE-LCHlch(63.41, 77.51, 313.93°)
OKLaboklab(70.72% 0.1245 -0.1567)
OKLCHoklch(70.72% 0.2 308.5)
XYZxyz(47.2476, 32.0858, 97.4509)
Luminance0.3209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C477FE #B1FE77
analogous
#8077FE #C477FE #FE77F5
triadic
#C477FE #FEC477 #77FEC4
tetradic
#C477FE #FE8077 #B1FE77 #77F5FE
square
#C477FE #FE8077 #B1FE77 #77F5FE
split-complementary
#C477FE #F5FE77 #77FE80
monochromatic
#8F02F9 #AA3AFE #C477FE #DEB4FE #F2E1FF

Accessibility & contrast

On white

2.83
#C477FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#C477FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C477FE
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C477FE#FFFFFF#000000##000000
##C477FE1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D96FF
Deuteranopia (green-blind)
#679BFB
Tritanopia (blue-blind)
#BC8FAF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c477fe;
/* rgb */ color: rgb(196, 119, 254);
/* oklch */ color: oklch(70.7% 0.200 308.5);
Tailwind
colors: {
  custom: {
    50: '#d9a1ff',
    500: '#c477fe',
    950: '#000000',
  },
}
SCSS
$custom: #c477fe;
$custom-light: #d9a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c477fe",
  "rgb": {
    "r": 196,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 274.222,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70719,
    "c": 0.2001,
    "h": 308.5
  },
  "luminance": 0.32085
}

Semantic roles & 50–950 ramp

primary
#C477FE
secondary
#E3F7D4
accent
#E60063
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C477FE

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

Preview Lab → · Contrast checker → · Palette generator →

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