#C8A6FA#C8A6FA

#C8A6FA is a light, vivid violet. Relative luminance 0.465; OKLCH L 78.6% C 0.122 H 302.3°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#C8A6FA
RGBrgb(200, 166, 250)
HSLhsl(264, 89%, 82%)
HSVhsv(264, 34%, 98%)
CMYKcmyk(20%, 33.6%, 0%, 2%)
CIE-LABlab(73.84, 28.68, -37.22)
CIE-LCHlch(73.84, 46.99, 307.61°)
OKLaboklab(78.58% 0.065 -0.1029)
OKLCHoklch(78.58% 0.122 302.3)
XYZxyz(54.7073, 46.4539, 96.5083)
Luminance0.4645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A6FA #D8FAA6
analogous
#A6AEFA #C8A6FA #F2A6FA
triadic
#C8A6FA #FAC8A6 #A6FAC8
tetradic
#C8A6FA #FAA6AE #D8FAA6 #A6FAF2
square
#C8A6FA #FAA6AE #D8FAA6 #A6FAF2
split-complementary
#C8A6FA #FAF2A6 #AEFAA6
monochromatic
#8032F3 #A46CF7 #C8A6FA #ECE0FD #EDE2FD

Accessibility & contrast

On white

2.04
#C8A6FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#C8A6FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A6FA
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A6FA#FFFFFF#000000##000000
##C8A6FA1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B5FD
Deuteranopia (green-blind)
#9AB5F8
Tritanopia (blue-blind)
#C0B3C5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8a6fa;
/* rgb */ color: rgb(200, 166, 250);
/* oklch */ color: oklch(78.6% 0.122 302.3);
Tailwind
colors: {
  custom: {
    50: '#dac0fc',
    500: '#c8a6fa',
    950: '#000000',
  },
}
SCSS
$custom: #c8a6fa;
$custom-light: #dac0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a6fa",
  "rgb": {
    "r": 200,
    "g": 166,
    "b": 250
  },
  "hsl": {
    "h": 264.286,
    "s": 89.362,
    "l": 81.569
  },
  "oklch": {
    "l": 0.78577,
    "c": 0.12172,
    "h": 302.3
  },
  "luminance": 0.46454
}

Semantic roles & 50–950 ramp

primary
#C8A6FA
secondary
#E9F5D6
accent
#E60089
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A6FA

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

Preview Lab → · Contrast checker → · Palette generator →

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