#C47EEA#C47EEA

#C47EEA is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.7% C 0.167 H 312.7°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#C47EEA
RGBrgb(196, 126, 234)
HSLhsl(279, 72%, 71%)
HSVhsv(279, 46%, 92%)
CMYKcmyk(16.2%, 46.2%, 0%, 8.2%)
CIE-LABlab(63.83, 45.80, -44.13)
CIE-LCHlch(63.83, 63.60, 316.06°)
OKLaboklab(70.71% 0.1132 -0.1227)
OKLCHoklch(70.71% 0.167 312.7)
XYZxyz(45.0746, 32.5990, 81.7437)
Luminance0.3260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C47EEA #A4EA7E
analogous
#8E7EEA #C47EEA #EA7EDA
triadic
#C47EEA #EAC47E #7EEAC4
tetradic
#C47EEA #EA8E7E #A4EA7E #7EDAEA
square
#C47EEA #EA8E7E #A4EA7E #7EDAEA
split-complementary
#C47EEA #DAEA7E #7EEA8E
monochromatic
#9021CC #AC49E1 #C47EEA #DCB3F3 #F3E5FB

Accessibility & contrast

On white

2.79
#C47EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#C47EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C47EEA
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C47EEA#FFFFFF#000000##000000
##C47EEA1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EE
Deuteranopia (green-blind)
#7A9CE7
Tritanopia (blue-blind)
#C08EA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c47eea;
/* rgb */ color: rgb(196, 126, 234);
/* oklch */ color: oklch(70.7% 0.167 312.7);
Tailwind
colors: {
  custom: {
    50: '#d8a5f1',
    500: '#c47eea',
    950: '#000000',
  },
}
SCSS
$custom: #c47eea;
$custom-light: #d8a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c47eea",
  "rgb": {
    "r": 196,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 278.889,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70706,
    "c": 0.16691,
    "h": 312.7
  },
  "luminance": 0.32598
}

Semantic roles & 50–950 ramp

primary
#C47EEA
secondary
#DEF1D3
accent
#D41156
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C47EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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