#C474EF#C474EF

#C474EF is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.5% C 0.188 H 312.5°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#C474EF
RGBrgb(196, 116, 239)
HSLhsl(279, 79%, 70%)
HSVhsv(279, 51%, 94%)
CMYKcmyk(18%, 51.5%, 0%, 6.3%)
CIE-LABlab(62.05, 52.09, -49.71)
CIE-LCHlch(62.05, 72.00, 316.33°)
OKLaboklab(69.46% 0.1273 -0.1389)
OKLCHoklch(69.46% 0.188 312.5)
XYZxyz(44.5876, 30.4596, 85.1751)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C474EF #9FEF74
analogous
#8674EF #C474EF #EF74DD
triadic
#C474EF #EFC474 #74EFC4
tetradic
#C474EF #EF8674 #9FEF74 #74DDEF
square
#C474EF #EF8674 #9FEF74 #74DDEF
split-complementary
#C474EF #DDEF74 #74EF86
monochromatic
#9018D1 #AD3DE9 #C474EF #DBABF5 #F3E2FC

Accessibility & contrast

On white

2.96
#C474EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#C474EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C474EF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C474EF#FFFFFF#000000##000000
##C474EF1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5592F3
Deuteranopia (green-blind)
#6E98EC
Tritanopia (blue-blind)
#C088A7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c474ef;
/* rgb */ color: rgb(196, 116, 239);
/* oklch */ color: oklch(69.5% 0.188 312.5);
Tailwind
colors: {
  custom: {
    50: '#d89ef5',
    500: '#c474ef',
    950: '#000000',
  },
}
SCSS
$custom: #c474ef;
$custom-light: #d89ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#c474ef",
  "rgb": {
    "r": 196,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 279.024,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6946,
    "c": 0.18835,
    "h": 312.5
  },
  "luminance": 0.30459
}

Semantic roles & 50–950 ramp

primary
#C474EF
secondary
#DAF1CE
accent
#DC0A53
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #C474EF

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

Preview Lab → · Contrast checker → · Palette generator →

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