#C47EFE#C47EFE

#C47EFE is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.8% C 0.189 H 307.6°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#C47EFE
RGBrgb(196, 126, 254)
HSLhsl(273, 98%, 75%)
HSVhsv(273, 50%, 100%)
CMYKcmyk(22.8%, 50.4%, 0%, 0.4%)
CIE-LABlab(64.81, 50.14, -53.59)
CIE-LCHlch(64.81, 73.39, 313.09°)
OKLaboklab(71.75% 0.1155 -0.1502)
OKLCHoklch(71.75% 0.189 307.6)
XYZxyz(48.1116, 33.8138, 97.7389)
Luminance0.3381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C47EFE #B8FE7E
analogous
#847EFE #C47EFE #FE7EF8
triadic
#C47EFE #FEC47E #7EFEC4
tetradic
#C47EFE #FE847E #B8FE7E #7EF8FE
square
#C47EFE #FE847E #B8FE7E #7EF8FE
split-complementary
#C47EFE #F8FE7E #7EFE84
monochromatic
#8C05FD #A841FE #C47EFE #E0BBFE #F1E1FF

Accessibility & contrast

On white

2.71
#C47EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#C47EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C47EFE
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C47EFE#FFFFFF#000000##000000
##C47EFE1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#599BFF
Deuteranopia (green-blind)
#6E9EFB
Tritanopia (blue-blind)
#BB94B3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c47efe;
/* rgb */ color: rgb(196, 126, 254);
/* oklch */ color: oklch(71.8% 0.189 307.6);
Tailwind
colors: {
  custom: {
    50: '#d8a5ff',
    500: '#c47efe',
    950: '#000000',
  },
}
SCSS
$custom: #c47efe;
$custom-light: #d8a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c47efe",
  "rgb": {
    "r": 196,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 272.813,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71754,
    "c": 0.18946,
    "h": 307.6
  },
  "luminance": 0.33813
}

Semantic roles & 50–950 ramp

primary
#C47EFE
secondary
#E4F7D4
accent
#E60068
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C47EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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