#C8A6FB#C8A6FB

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

Color values

HEX#C8A6FB
RGBrgb(200, 166, 251)
HSLhsl(264, 91%, 82%)
HSVhsv(264, 34%, 98%)
CMYKcmyk(20.3%, 33.9%, 0%, 1.6%)
CIE-LABlab(73.88, 28.90, -37.70)
CIE-LCHlch(73.88, 47.50, 307.48°)
OKLaboklab(78.62% 0.0652 -0.1043)
OKLCHoklch(78.62% 0.123 302)
XYZxyz(54.8645, 46.5168, 97.3363)
Luminance0.4652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A6FB #D9FBA6
analogous
#A6AFFB #C8A6FB #F3A6FB
triadic
#C8A6FB #FBC8A6 #A6FBC8
tetradic
#C8A6FB #FBA6AF #D9FBA6 #A6FBF3
square
#C8A6FB #FBA6AF #D9FBA6 #A6FBF3
split-complementary
#C8A6FB #FBF3A6 #AFFBA6
monochromatic
#8031F6 #A46BF8 #C8A6FB #ECE1FE #EDE2FE

Accessibility & contrast

On white

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

On black

10.30
#C8A6FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A6FB
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A6FB#FFFFFF#000000##000000
##C8A6FB1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B5FE
Deuteranopia (green-blind)
#99B5F9
Tritanopia (blue-blind)
#BFB3C5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8a6fb;
/* rgb */ color: rgb(200, 166, 251);
/* oklch */ color: oklch(78.6% 0.123 302.0);
Tailwind
colors: {
  custom: {
    50: '#dac0fd',
    500: '#c8a6fb',
    950: '#000000',
  },
}
SCSS
$custom: #c8a6fb;
$custom-light: #dac0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a6fb",
  "rgb": {
    "r": 200,
    "g": 166,
    "b": 251
  },
  "hsl": {
    "h": 264,
    "s": 91.398,
    "l": 81.765
  },
  "oklch": {
    "l": 0.78622,
    "c": 0.123,
    "h": 302
  },
  "luminance": 0.46517
}

Semantic roles & 50–950 ramp

primary
#C8A6FB
secondary
#E9F6D5
accent
#E6008A
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A6FB

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

Preview Lab → · Contrast checker → · Palette generator →

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