#C477F2#C477F2

#C477F2 is a light, vivid violet. Relative luminance 0.313; OKLCH L 70.1% C 0.187 H 311.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#C477F2
RGBrgb(196, 119, 242)
HSLhsl(278, 83%, 71%)
HSVhsv(278, 51%, 95%)
CMYKcmyk(19%, 50.8%, 0%, 5.1%)
CIE-LABlab(62.79, 51.18, -50.19)
CIE-LCHlch(62.79, 71.68, 315.56°)
OKLaboklab(70.06% 0.1236 -0.1403)
OKLCHoklch(70.06% 0.187 311.4)
XYZxyz(45.3859, 31.3411, 87.6457)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C477F2 #A5F277
analogous
#8677F2 #C477F2 #F277E2
triadic
#C477F2 #F2C477 #77F2C4
tetradic
#C477F2 #F28677 #A5F277 #77E2F2
square
#C477F2 #F28677 #A5F277 #77E2F2
split-complementary
#C477F2 #E2F277 #77F286
monochromatic
#9015DA #AC3FED #C477F2 #DCAFF7 #F3E3FC

Accessibility & contrast

On white

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

On black

7.27
#C477F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C477F2
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C477F2#FFFFFF#000000##000000
##C477F21.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#6F99EF
Tritanopia (blue-blind)
#BF8BAA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c477f2;
/* rgb */ color: rgb(196, 119, 242);
/* oklch */ color: oklch(70.1% 0.187 311.4);
Tailwind
colors: {
  custom: {
    50: '#d8a0f7',
    500: '#c477f2',
    950: '#000000',
  },
}
SCSS
$custom: #c477f2;
$custom-light: #d8a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c477f2",
  "rgb": {
    "r": 196,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 277.561,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7006,
    "c": 0.18692,
    "h": 311.4
  },
  "luminance": 0.3134
}

Semantic roles & 50–950 ramp

primary
#C477F2
secondary
#DEF3D2
accent
#DF0757
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C477F2

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

Preview Lab → · Contrast checker → · Palette generator →

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