#C8A6F2#C8A6F2

#C8A6F2 is a light, moderate violet. Relative luminance 0.460; OKLCH L 78.2% C 0.111 H 304.4°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#C8A6F2
RGBrgb(200, 166, 242)
HSLhsl(267, 75%, 80%)
HSVhsv(267, 31%, 95%)
CMYKcmyk(17.4%, 31.4%, 0%, 5.1%)
CIE-LABlab(73.52, 26.91, -33.38)
CIE-LCHlch(73.52, 42.88, 308.88°)
OKLaboklab(78.23% 0.0631 -0.0919)
OKLCHoklch(78.23% 0.111 304.4)
XYZxyz(53.4794, 45.9628, 90.0415)
Luminance0.4596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A6F2 #D0F2A6
analogous
#A6AAF2 #C8A6F2 #EEA6F2
triadic
#C8A6F2 #F2C8A6 #A6F2C8
tetradic
#C8A6F2 #F2A6AA #D0F2A6 #A6F2EE
square
#C8A6F2 #F2A6AA #D0F2A6 #A6F2EE
split-complementary
#C8A6F2 #F2EEA6 #AAF2A6
monochromatic
#863BE2 #A771EA #C8A6F2 #E9DBFA #EEE4FB

Accessibility & contrast

On white

2.06
#C8A6F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#C8A6F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A6F2
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A6F2#FFFFFF#000000##000000
##C8A6F21.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B4F5
Deuteranopia (green-blind)
#9DB5F0
Tritanopia (blue-blind)
#C2B1C1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8a6f2;
/* rgb */ color: rgb(200, 166, 242);
/* oklch */ color: oklch(78.2% 0.111 304.4);
Tailwind
colors: {
  custom: {
    50: '#d9c0f6',
    500: '#c8a6f2',
    950: '#000000',
  },
}
SCSS
$custom: #c8a6f2;
$custom-light: #d9c0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a6f2",
  "rgb": {
    "r": 200,
    "g": 166,
    "b": 242
  },
  "hsl": {
    "h": 266.842,
    "s": 74.51,
    "l": 80
  },
  "oklch": {
    "l": 0.7823,
    "c": 0.11147,
    "h": 304.4
  },
  "luminance": 0.45963
}

Semantic roles & 50–950 ramp

primary
#C8A6F2
secondary
#E7F3D8
accent
#D70F7D
background
#FDFBFF
surface
#FBF7FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #C8A6F2

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

Preview Lab → · Contrast checker → · Palette generator →

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