#C8A6FE#C8A6FE

#C8A6FE is a light, vivid violet. Relative luminance 0.467; OKLCH L 78.8% C 0.127 H 301.3°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#C8A6FE
RGBrgb(200, 166, 254)
HSLhsl(263, 98%, 82%)
HSVhsv(263, 35%, 100%)
CMYKcmyk(21.3%, 34.6%, 0%, 0.4%)
CIE-LABlab(74.00, 29.58, -39.13)
CIE-LCHlch(74.00, 49.05, 307.08°)
OKLaboklab(78.76% 0.0659 -0.1084)
OKLCHoklch(78.76% 0.127 301.3)
XYZxyz(55.3412, 46.7075, 99.8466)
Luminance0.4671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A6FE #DCFEA6
analogous
#A6B0FE #C8A6FE #F4A6FE
triadic
#C8A6FE #FEC8A6 #A6FEC8
tetradic
#C8A6FE #FEA6B0 #DCFEA6 #A6FEF4
square
#C8A6FE #FEA6B0 #DCFEA6 #A6FEF4
split-complementary
#C8A6FE #FEF4A6 #B0FEA6
monochromatic
#7D2DFD #A369FD #C8A6FE #ECE1FF #ECE1FF

Accessibility & contrast

On white

2.03
#C8A6FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#C8A6FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A6FE
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A6FE#FFFFFF#000000##000000
##C8A6FE1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B5FF
Deuteranopia (green-blind)
#98B6FC
Tritanopia (blue-blind)
#BFB4C6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8a6fe;
/* rgb */ color: rgb(200, 166, 254);
/* oklch */ color: oklch(78.8% 0.127 301.3);
Tailwind
colors: {
  custom: {
    50: '#dac0ff',
    500: '#c8a6fe',
    950: '#000000',
  },
}
SCSS
$custom: #c8a6fe;
$custom-light: #dac0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a6fe",
  "rgb": {
    "r": 200,
    "g": 166,
    "b": 254
  },
  "hsl": {
    "h": 263.182,
    "s": 97.778,
    "l": 82.353
  },
  "oklch": {
    "l": 0.78755,
    "c": 0.12685,
    "h": 301.3
  },
  "luminance": 0.46708
}

Semantic roles & 50–950 ramp

primary
#C8A6FE
secondary
#E9F7D4
accent
#E6008D
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #C8A6FE

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

Preview Lab → · Contrast checker → · Palette generator →

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