#C477EB#C477EB

#C477EB is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.7% C 0.179 H 313.2°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#C477EB
RGBrgb(196, 119, 235)
HSLhsl(280, 74%, 69%)
HSVhsv(280, 49%, 92%)
CMYKcmyk(16.6%, 49.4%, 0%, 7.8%)
CIE-LABlab(62.45, 49.69, -46.87)
CIE-LCHlch(62.45, 68.31, 316.68°)
OKLaboklab(69.69% 0.1228 -0.1306)
OKLCHoklch(69.69% 0.179 313.2)
XYZxyz(44.3547, 30.9286, 82.2144)
Luminance0.3093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C477EB #9EEB77
analogous
#8A77EB #C477EB #EB77D8
triadic
#C477EB #EBC477 #77EBC4
tetradic
#C477EB #EB8A77 #9EEB77 #77D8EB
square
#C477EB #EB8A77 #9EEB77 #77D8EB
split-complementary
#C477EB #D8EB77 #77EB8A
monochromatic
#901ECA #AD42E3 #C477EB #DBACF3 #F2E2FB

Accessibility & contrast

On white

2.92
#C477EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#C477EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C477EB
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C477EB#FFFFFF#000000##000000
##C477EB1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93EF
Deuteranopia (green-blind)
#7399E8
Tritanopia (blue-blind)
#C189A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c477eb;
/* rgb */ color: rgb(196, 119, 235);
/* oklch */ color: oklch(69.7% 0.179 313.2);
Tailwind
colors: {
  custom: {
    50: '#d8a0f2',
    500: '#c477eb',
    950: '#000000',
  },
}
SCSS
$custom: #c477eb;
$custom-light: #d8a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c477eb",
  "rgb": {
    "r": 196,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 279.828,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6969,
    "c": 0.17929,
    "h": 313.2
  },
  "luminance": 0.30928
}

Semantic roles & 50–950 ramp

primary
#C477EB
secondary
#D9F0CE
accent
#D60F52
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C477EB

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

Preview Lab → · Contrast checker → · Palette generator →

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