#C47AFE#C47AFE

#C47AFE is a light, vivid violet. Relative luminance 0.328; OKLCH L 71.2% C 0.196 H 308.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#C47AFE
RGBrgb(196, 122, 254)
HSLhsl(274, 99%, 74%)
HSVhsv(274, 52%, 100%)
CMYKcmyk(22.8%, 52%, 0%, 0.4%)
CIE-LABlab(64.01, 52.23, -54.88)
CIE-LCHlch(64.01, 75.76, 313.59°)
OKLaboklab(71.16% 0.1206 -0.1539)
OKLCHoklch(71.16% 0.196 308.1)
XYZxyz(47.6103, 32.8112, 97.5718)
Luminance0.3281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C47AFE #B4FE7A
analogous
#827AFE #C47AFE #FE7AF6
triadic
#C47AFE #FEC47A #7AFEC4
tetradic
#C47AFE #FE827A #B4FE7A #7AF6FE
square
#C47AFE #FE827A #B4FE7A #7AF6FE
split-complementary
#C47AFE #F6FE7A #7AFE82
monochromatic
#8E02FC #A93DFE #C47AFE #DFB7FE #F2E1FF

Accessibility & contrast

On white

2.78
#C47AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#C47AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C47AFE
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C47AFE#FFFFFF#000000##000000
##C47AFE1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#6A9CFB
Tritanopia (blue-blind)
#BC91B1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c47afe;
/* rgb */ color: rgb(196, 122, 254);
/* oklch */ color: oklch(71.2% 0.196 308.1);
Tailwind
colors: {
  custom: {
    50: '#d9a3ff',
    500: '#c47afe',
    950: '#000000',
  },
}
SCSS
$custom: #c47afe;
$custom-light: #d9a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c47afe",
  "rgb": {
    "r": 196,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 273.636,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71157,
    "c": 0.19557,
    "h": 308.1
  },
  "luminance": 0.32811
}

Semantic roles & 50–950 ramp

primary
#C47AFE
secondary
#E3F7D4
accent
#E60065
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C47AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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