#C474ED#C474ED

#C474ED is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.4% C 0.186 H 313.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#C474ED
RGBrgb(196, 116, 237)
HSLhsl(280, 77%, 69%)
HSVhsv(280, 51%, 93%)
CMYKcmyk(17.3%, 51.1%, 0%, 7.1%)
CIE-LABlab(61.95, 51.66, -48.76)
CIE-LCHlch(61.95, 71.04, 316.65°)
OKLaboklab(69.35% 0.1271 -0.1361)
OKLCHoklch(69.35% 0.186 313)
XYZxyz(44.2938, 30.3420, 83.6276)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C474ED #9DED74
analogous
#8874ED #C474ED #ED74DA
triadic
#C474ED #EDC474 #74EDC4
tetradic
#C474ED #ED8874 #9DED74 #74DAED
square
#C474ED #ED8874 #9DED74 #74DAED
split-complementary
#C474ED #DAED74 #74ED88
monochromatic
#901ACC #AD3EE6 #C474ED #DBAAF4 #F2E0FB

Accessibility & contrast

On white

2.97
#C474ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#C474ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C474ED
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C474ED#FFFFFF#000000##000000
##C474ED1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F1
Deuteranopia (green-blind)
#6F98EA
Tritanopia (blue-blind)
#C088A6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c474ed;
/* rgb */ color: rgb(196, 116, 237);
/* oklch */ color: oklch(69.4% 0.186 313.0);
Tailwind
colors: {
  custom: {
    50: '#d89ef3',
    500: '#c474ed',
    950: '#000000',
  },
}
SCSS
$custom: #c474ed;
$custom-light: #d89ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#c474ed",
  "rgb": {
    "r": 196,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 279.669,
    "s": 77.07,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69353,
    "c": 0.18618,
    "h": 313
  },
  "luminance": 0.30341
}

Semantic roles & 50–950 ramp

primary
#C474ED
secondary
#D9F0CD
accent
#D90C52
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C474ED

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

Preview Lab → · Contrast checker → · Palette generator →

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