#C4A6FE#C4A6FE

#C4A6FE is a light, vivid violet. Relative luminance 0.462; OKLCH L 78.4% C 0.126 H 299.2°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#C4A6FE
RGBrgb(196, 166, 254)
HSLhsl(260, 98%, 82%)
HSVhsv(260, 35%, 100%)
CMYKcmyk(22.8%, 34.6%, 0%, 0.4%)
CIE-LABlab(73.65, 28.42, -39.70)
CIE-LCHlch(73.65, 48.83, 305.59°)
OKLaboklab(78.41% 0.0614 -0.1101)
OKLCHoklch(78.41% 0.126 299.2)
XYZxyz(54.2866, 46.1637, 99.7972)
Luminance0.4616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A6FE #E0FEA6
analogous
#A6B4FE #C4A6FE #F0A6FE
triadic
#C4A6FE #FEC4A6 #A6FEC4
tetradic
#C4A6FE #FEA6B4 #E0FEA6 #A6FEF0
square
#C4A6FE #FEA6B4 #E0FEA6 #A6FEF0
split-complementary
#C4A6FE #FEF0A6 #B4FEA6
monochromatic
#742DFD #9C69FD #C4A6FE #EBE1FF #EBE1FF

Accessibility & contrast

On white

2.05
#C4A6FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#C4A6FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A6FE
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A6FE#FFFFFF#000000##000000
##C4A6FE1.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B5FF
Deuteranopia (green-blind)
#96B4FC
Tritanopia (blue-blind)
#B9B4C6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c4a6fe;
/* rgb */ color: rgb(196, 166, 254);
/* oklch */ color: oklch(78.4% 0.126 299.2);
Tailwind
colors: {
  custom: {
    50: '#d7c0ff',
    500: '#c4a6fe',
    950: '#000000',
  },
}
SCSS
$custom: #c4a6fe;
$custom-light: #d7c0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a6fe",
  "rgb": {
    "r": 196,
    "g": 166,
    "b": 254
  },
  "hsl": {
    "h": 260.455,
    "s": 97.778,
    "l": 82.353
  },
  "oklch": {
    "l": 0.78405,
    "c": 0.12606,
    "h": 299.2
  },
  "luminance": 0.46164
}

Semantic roles & 50–950 ramp

primary
#C4A6FE
secondary
#EBF7D4
accent
#E60097
background
#FDFBFF
surface
#FAF7FF
border
#D3D0D7
text
#141218
muted
#838186

Preview Lab

Preview with #C4A6FE

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

Preview Lab → · Contrast checker → · Palette generator →

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