#C8A6EB#C8A6EB

#C8A6EB is a light, moderate violet. Relative luminance 0.456; OKLCH L 77.9% C 0.103 H 306.7°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#C8A6EB
RGBrgb(200, 166, 235)
HSLhsl(270, 63%, 79%)
HSVhsv(270, 29%, 92%)
CMYKcmyk(14.9%, 29.4%, 0%, 7.8%)
CIE-LABlab(73.25, 25.40, -29.99)
CIE-LCHlch(73.25, 39.30, 310.26°)
OKLaboklab(77.94% 0.0612 -0.0823)
OKLCHoklch(77.94% 0.103 306.7)
XYZxyz(52.4482, 45.5503, 84.6102)
Luminance0.4555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A6EB #C9EBA6
analogous
#A6A6EB #C8A6EB #EAA6EB
triadic
#C8A6EB #EBC8A6 #A6EBC8
tetradic
#C8A6EB #EBA6A6 #C9EBA6 #A6EBEA
square
#C8A6EB #EBA6A6 #C9EBA6 #A6EBEA
split-complementary
#C8A6EB #EBEAA6 #A6EBA6
monochromatic
#8A42D5 #A974E0 #C8A6EB #E7D8F6 #F0E6F9

Accessibility & contrast

On white

2.08
#C8A6EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#C8A6EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A6EB
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A6EB#FFFFFF#000000##000000
##C8A6EB1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B3EE
Deuteranopia (green-blind)
#A0B4E9
Tritanopia (blue-blind)
#C3B0BF
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8a6eb;
/* rgb */ color: rgb(200, 166, 235);
/* oklch */ color: oklch(77.9% 0.103 306.7);
Tailwind
colors: {
  custom: {
    50: '#d9c0f1',
    500: '#c8a6eb',
    950: '#000000',
  },
}
SCSS
$custom: #c8a6eb;
$custom-light: #d9c0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a6eb",
  "rgb": {
    "r": 200,
    "g": 166,
    "b": 235
  },
  "hsl": {
    "h": 269.565,
    "s": 63.303,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77936,
    "c": 0.10256,
    "h": 306.7
  },
  "luminance": 0.4555
}

Semantic roles & 50–950 ramp

primary
#C8A6EB
secondary
#E6F1DA
accent
#CB1A74
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #C8A6EB

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

Preview Lab → · Contrast checker → · Palette generator →

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