#C8A6EA#C8A6EA

#C8A6EA is a light, moderate violet. Relative luminance 0.455; OKLCH L 77.9% C 0.101 H 307.0°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#C8A6EA
RGBrgb(200, 166, 234)
HSLhsl(270, 62%, 78%)
HSVhsv(270, 29%, 92%)
CMYKcmyk(14.5%, 29.1%, 0%, 8.2%)
CIE-LABlab(73.22, 25.19, -29.50)
CIE-LCHlch(73.22, 38.79, 310.49°)
OKLaboklab(77.9% 0.061 -0.0809)
OKLCHoklch(77.9% 0.101 307)
XYZxyz(52.3041, 45.4926, 83.8515)
Luminance0.4549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A6EA #C8EAA6
analogous
#A6A6EA #C8A6EA #EAA6EA
triadic
#C8A6EA #EAC8A6 #A6EAC8
tetradic
#C8A6EA #EAA6A6 #C8EAA6 #A6EAEA
square
#C8A6EA #EAA6A6 #C8EAA6 #A6EAEA
split-complementary
#C8A6EA #EAEAA6 #A6EAA6
monochromatic
#8B43D3 #A974DE #C8A6EA #E7D8F6 #F0E6F9

Accessibility & contrast

On white

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

On black

10.10
#C8A6EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A6EA
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A6EA#FFFFFF#000000##000000
##C8A6EA1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B2ED
Deuteranopia (green-blind)
#A0B4E8
Tritanopia (blue-blind)
#C3AFBE
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8a6ea;
/* rgb */ color: rgb(200, 166, 234);
/* oklch */ color: oklch(77.9% 0.101 307.0);
Tailwind
colors: {
  custom: {
    50: '#d9c0f1',
    500: '#c8a6ea',
    950: '#000000',
  },
}
SCSS
$custom: #c8a6ea;
$custom-light: #d9c0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a6ea",
  "rgb": {
    "r": 200,
    "g": 166,
    "b": 234
  },
  "hsl": {
    "h": 270,
    "s": 61.818,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77895,
    "c": 0.1013,
    "h": 307
  },
  "luminance": 0.45492
}

Semantic roles & 50–950 ramp

primary
#C8A6EA
secondary
#E6F1DA
accent
#CA1C73
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #C8A6EA

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

Preview Lab → · Contrast checker → · Palette generator →

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