#C477FB#C477FB

#C477FB is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.6% C 0.197 H 309.2°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#C477FB
RGBrgb(196, 119, 251)
HSLhsl(275, 94%, 73%)
HSVhsv(275, 53%, 98%)
CMYKcmyk(21.9%, 52.6%, 0%, 1.6%)
CIE-LABlab(63.26, 53.12, -54.42)
CIE-LCHlch(63.26, 76.05, 314.31°)
OKLaboklab(70.55% 0.1243 -0.1526)
OKLCHoklch(70.55% 0.197 309.2)
XYZxyz(46.7710, 31.8952, 94.9406)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C477FB #AEFB77
analogous
#8277FB #C477FB #FB77F0
triadic
#C477FB #FBC477 #77FBC4
tetradic
#C477FB #FB8277 #AEFB77 #77F0FB
square
#C477FB #FB8277 #AEFB77 #77F0FB
split-complementary
#C477FB #F0FB77 #77FB82
monochromatic
#8F07F1 #AA3CF9 #C477FB #DEB2FD #F2E1FE

Accessibility & contrast

On white

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

On black

7.38
#C477FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C477FB
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C477FB#FFFFFF#000000##000000
##C477FB1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#699AF8
Tritanopia (blue-blind)
#BD8EAE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c477fb;
/* rgb */ color: rgb(196, 119, 251);
/* oklch */ color: oklch(70.6% 0.197 309.2);
Tailwind
colors: {
  custom: {
    50: '#d9a1fd',
    500: '#c477fb',
    950: '#000000',
  },
}
SCSS
$custom: #c477fb;
$custom-light: #d9a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c477fb",
  "rgb": {
    "r": 196,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 275,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70551,
    "c": 0.1968,
    "h": 309.2
  },
  "luminance": 0.31894
}

Semantic roles & 50–950 ramp

primary
#C477FB
secondary
#E3F6D5
accent
#E60060
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C477FB

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

Preview Lab → · Contrast checker → · Palette generator →

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