#C474EC#C474EC

#C474EC is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.3% C 0.185 H 313.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#C474EC
RGBrgb(196, 116, 236)
HSLhsl(280, 76%, 69%)
HSVhsv(280, 51%, 93%)
CMYKcmyk(16.9%, 50.8%, 0%, 7.5%)
CIE-LABlab(61.90, 51.45, -48.29)
CIE-LCHlch(61.90, 70.56, 316.82°)
OKLaboklab(69.3% 0.127 -0.1347)
OKLCHoklch(69.3% 0.185 313.3)
XYZxyz(44.1481, 30.2838, 82.8603)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C474EC #9CEC74
analogous
#8874EC #C474EC #EC74D8
triadic
#C474EC #ECC474 #74ECC4
tetradic
#C474EC #EC8874 #9CEC74 #74D8EC
square
#C474EC #EC8874 #9CEC74 #74D8EC
split-complementary
#C474EC #D8EC74 #74EC88
monochromatic
#901CCA #AD3EE5 #C474EC #DBAAF3 #F2E0FB

Accessibility & contrast

On white

2.98
#C474EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#C474EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C474EC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C474EC#FFFFFF#000000##000000
##C474EC1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F0
Deuteranopia (green-blind)
#7098E9
Tritanopia (blue-blind)
#C087A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c474ec;
/* rgb */ color: rgb(196, 116, 236);
/* oklch */ color: oklch(69.3% 0.185 313.3);
Tailwind
colors: {
  custom: {
    50: '#d89ef2',
    500: '#c474ec',
    950: '#000000',
  },
}
SCSS
$custom: #c474ec;
$custom-light: #d89ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#c474ec",
  "rgb": {
    "r": 196,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 280,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.693,
    "c": 0.18511,
    "h": 313.3
  },
  "luminance": 0.30283
}

Semantic roles & 50–950 ramp

primary
#C474EC
secondary
#D8EFCC
accent
#D80D51
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C474EC

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

Preview Lab → · Contrast checker → · Palette generator →

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