#C47DFE#C47DFE

#C47DFE is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.6% C 0.191 H 307.7°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#C47DFE
RGBrgb(196, 125, 254)
HSLhsl(273, 98%, 74%)
HSVhsv(273, 51%, 100%)
CMYKcmyk(22.8%, 50.8%, 0%, 0.4%)
CIE-LABlab(64.61, 50.67, -53.92)
CIE-LCHlch(64.61, 73.99, 313.22°)
OKLaboklab(71.6% 0.1168 -0.1511)
OKLCHoklch(71.6% 0.191 307.7)
XYZxyz(47.9844, 33.5593, 97.6965)
Luminance0.3356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C47DFE #B7FE7D
analogous
#847DFE #C47DFE #FE7DF8
triadic
#C47DFE #FEC47D #7DFEC4
tetradic
#C47DFE #FE847D #B7FE7D #7DF8FE
square
#C47DFE #FE847D #B7FE7D #7DF8FE
split-complementary
#C47DFE #F8FE7D #7DFE84
monochromatic
#8D04FD #A840FE #C47DFE #E0BAFE #F1E1FF

Accessibility & contrast

On white

2.72
#C47DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#C47DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C47DFE
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C47DFE#FFFFFF#000000##000000
##C47DFE1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#589AFF
Deuteranopia (green-blind)
#6D9DFB
Tritanopia (blue-blind)
#BC93B2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c47dfe;
/* rgb */ color: rgb(196, 125, 254);
/* oklch */ color: oklch(71.6% 0.191 307.7);
Tailwind
colors: {
  custom: {
    50: '#d8a5ff',
    500: '#c47dfe',
    950: '#000000',
  },
}
SCSS
$custom: #c47dfe;
$custom-light: #d8a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c47dfe",
  "rgb": {
    "r": 196,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 273.023,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71603,
    "c": 0.19099,
    "h": 307.7
  },
  "luminance": 0.33559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C47DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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