#C477EF#C477EF

#C477EF is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.9% C 0.184 H 312.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#C477EF
RGBrgb(196, 119, 239)
HSLhsl(279, 79%, 70%)
HSVhsv(279, 50%, 94%)
CMYKcmyk(18%, 50.2%, 0%, 6.3%)
CIE-LABlab(62.64, 50.54, -48.77)
CIE-LCHlch(62.64, 70.23, 316.02°)
OKLaboklab(69.9% 0.1233 -0.1361)
OKLCHoklch(69.9% 0.184 312.2)
XYZxyz(44.9390, 31.1624, 85.2922)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C477EF #A2EF77
analogous
#8877EF #C477EF #EF77DE
triadic
#C477EF #EFC477 #77EFC4
tetradic
#C477EF #EF8877 #A2EF77 #77DEEF
square
#C477EF #EF8877 #A2EF77 #77DEEF
split-complementary
#C477EF #DEEF77 #77EF88
monochromatic
#9019D3 #AC40E9 #C477EF #DCAEF5 #F3E4FC

Accessibility & contrast

On white

2.90
#C477EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#C477EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C477EF
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C477EF#FFFFFF#000000##000000
##C477EF1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A93F3
Deuteranopia (green-blind)
#7199EC
Tritanopia (blue-blind)
#C08AA8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c477ef;
/* rgb */ color: rgb(196, 119, 239);
/* oklch */ color: oklch(69.9% 0.184 312.2);
Tailwind
colors: {
  custom: {
    50: '#d8a0f5',
    500: '#c477ef',
    950: '#000000',
  },
}
SCSS
$custom: #c477ef;
$custom-light: #d8a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c477ef",
  "rgb": {
    "r": 196,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 278.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.699,
    "c": 0.18365,
    "h": 312.2
  },
  "luminance": 0.31161
}

Semantic roles & 50–950 ramp

primary
#C477EF
secondary
#DCF2D0
accent
#DB0A55
background
#FDFAFF
surface
#FBF3FE
border
#D4CDD6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C477EF

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

Preview Lab → · Contrast checker → · Palette generator →

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