#C47DEC#C47DEC

#C47DEC is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.7% C 0.171 H 312.3°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#C47DEC
RGBrgb(196, 125, 236)
HSLhsl(278, 74%, 71%)
HSVhsv(278, 47%, 93%)
CMYKcmyk(16.9%, 47%, 0%, 7.5%)
CIE-LABlab(63.72, 46.75, -45.41)
CIE-LCHlch(63.72, 65.18, 315.83°)
OKLaboklab(70.65% 0.1148 -0.1264)
OKLCHoklch(70.65% 0.171 312.3)
XYZxyz(45.2363, 32.4601, 83.2230)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C47DEC #A5EC7D
analogous
#8C7DEC #C47DEC #EC7DDD
triadic
#C47DEC #ECC47D #7DECC4
tetradic
#C47DEC #EC8C7D #A5EC7D #7DDDEC
square
#C47DEC #EC8C7D #A5EC7D #7DDDEC
split-complementary
#C47DEC #DDEC7D #7DEC8C
monochromatic
#901ED0 #AC48E4 #C47DEC #DCB2F4 #F3E4FB

Accessibility & contrast

On white

2.80
#C47DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#C47DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C47DEC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C47DEC#FFFFFF#000000##000000
##C47DEC1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F0
Deuteranopia (green-blind)
#789CE9
Tritanopia (blue-blind)
#C08EA9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c47dec;
/* rgb */ color: rgb(196, 125, 236);
/* oklch */ color: oklch(70.7% 0.171 312.3);
Tailwind
colors: {
  custom: {
    50: '#d8a4f2',
    500: '#c47dec',
    950: '#000000',
  },
}
SCSS
$custom: #c47dec;
$custom-light: #d8a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c47dec",
  "rgb": {
    "r": 196,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 278.378,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70653,
    "c": 0.17076,
    "h": 312.3
  },
  "luminance": 0.32459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C47DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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