#C8A6EF#C8A6EF

#C8A6EF is a light, moderate violet. Relative luminance 0.458; OKLCH L 78.1% C 0.108 H 305.4°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#C8A6EF
RGBrgb(200, 166, 239)
HSLhsl(268, 70%, 79%)
HSVhsv(268, 31%, 94%)
CMYKcmyk(16.3%, 30.5%, 0%, 6.3%)
CIE-LABlab(73.41, 26.26, -31.93)
CIE-LCHlch(73.41, 41.34, 309.44°)
OKLaboklab(78.1% 0.0623 -0.0878)
OKLCHoklch(78.1% 0.108 305.4)
XYZxyz(53.0326, 45.7840, 87.6880)
Luminance0.4578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A6EF #CDEFA6
analogous
#A6A9EF #C8A6EF #EDA6EF
triadic
#C8A6EF #EFC8A6 #A6EFC8
tetradic
#C8A6EF #EFA6A9 #CDEFA6 #A6EFED
square
#C8A6EF #EFA6A9 #CDEFA6 #A6EFED
split-complementary
#C8A6EF #EFEDA6 #A9EFA6
monochromatic
#883EDC #A872E6 #C8A6EF #E8DAF8 #EFE5FA

Accessibility & contrast

On white

2.07
#C8A6EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#C8A6EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A6EF
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A6EF#FFFFFF#000000##000000
##C8A6EF1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B3F2
Deuteranopia (green-blind)
#9EB4ED
Tritanopia (blue-blind)
#C2B1C0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8a6ef;
/* rgb */ color: rgb(200, 166, 239);
/* oklch */ color: oklch(78.1% 0.108 305.4);
Tailwind
colors: {
  custom: {
    50: '#d9c0f4',
    500: '#c8a6ef',
    950: '#000000',
  },
}
SCSS
$custom: #c8a6ef;
$custom-light: #d9c0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a6ef",
  "rgb": {
    "r": 200,
    "g": 166,
    "b": 239
  },
  "hsl": {
    "h": 267.945,
    "s": 69.524,
    "l": 79.412
  },
  "oklch": {
    "l": 0.78103,
    "c": 0.10764,
    "h": 305.4
  },
  "luminance": 0.45784
}

Semantic roles & 50–950 ramp

primary
#C8A6EF
secondary
#E6F2D9
accent
#D21479
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8A6EF

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

Preview Lab → · Contrast checker → · Palette generator →

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