#C477ED#C477ED

#C477ED is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.8% C 0.181 H 312.7°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#C477ED
RGBrgb(196, 119, 237)
HSLhsl(279, 77%, 70%)
HSVhsv(279, 50%, 93%)
CMYKcmyk(17.3%, 49.8%, 0%, 7.1%)
CIE-LABlab(62.55, 50.11, -47.82)
CIE-LCHlch(62.55, 69.27, 316.34°)
OKLaboklab(69.8% 0.1231 -0.1334)
OKLCHoklch(69.8% 0.181 312.7)
XYZxyz(44.6452, 31.0449, 83.7448)
Luminance0.3104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C477ED #A0ED77
analogous
#8977ED #C477ED #ED77DB
triadic
#C477ED #EDC477 #77EDC4
tetradic
#C477ED #ED8977 #A0ED77 #77DBED
square
#C477ED #ED8977 #A0ED77 #77DBED
split-complementary
#C477ED #DBED77 #77ED89
monochromatic
#901BCE #AD41E6 #C477ED #DBADF4 #F3E3FB

Accessibility & contrast

On white

2.91
#C477ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#C477ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C477ED
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C477ED#FFFFFF#000000##000000
##C477ED1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F1
Deuteranopia (green-blind)
#7299EA
Tritanopia (blue-blind)
#C08AA7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c477ed;
/* rgb */ color: rgb(196, 119, 237);
/* oklch */ color: oklch(69.8% 0.181 312.7);
Tailwind
colors: {
  custom: {
    50: '#d8a0f3',
    500: '#c477ed',
    950: '#000000',
  },
}
SCSS
$custom: #c477ed;
$custom-light: #d8a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c477ed",
  "rgb": {
    "r": 196,
    "g": 119,
    "b": 237
  },
  "hsl": {
    "h": 279.153,
    "s": 76.623,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69795,
    "c": 0.18146,
    "h": 312.7
  },
  "luminance": 0.31044
}

Semantic roles & 50–950 ramp

primary
#C477ED
secondary
#DBF1CF
accent
#D90D54
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C477ED

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

Preview Lab → · Contrast checker → · Palette generator →

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