#C8A6DF#C8A6DF

#C8A6DF is a light, moderate violet. Relative luminance 0.449; OKLCH L 77.5% C 0.088 H 311.4°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#C8A6DF
RGBrgb(200, 166, 223)
HSLhsl(276, 47%, 76%)
HSVhsv(276, 26%, 87%)
CMYKcmyk(10.3%, 25.6%, 0%, 12.5%)
CIE-LABlab(72.81, 22.88, -24.12)
CIE-LCHlch(72.81, 33.25, 313.49°)
OKLaboklab(77.45% 0.0579 -0.0657)
OKLCHoklch(77.45% 0.088 311.4)
XYZxyz(50.7727, 44.8801, 75.7857)
Luminance0.4488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A6DF #BDDFA6
analogous
#ACA6DF #C8A6DF #DFA6DA
triadic
#C8A6DF #DFC8A6 #A6DFC8
tetradic
#C8A6DF #DFACA6 #BDDFA6 #A6DADF
square
#C8A6DF #DFACA6 #BDDFA6 #A6DADF
split-complementary
#C8A6DF #DADFA6 #A6DFAC
monochromatic
#904CBF #AC79CF #C8A6DF #E4D3EF #F1E8F7

Accessibility & contrast

On white

2.11
#C8A6DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#C8A6DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A6DF
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A6DF#FFFFFF#000000##000000
##C8A6DF1.002.119.989.98
#FFFFFF2.111.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB1E1
Deuteranopia (green-blind)
#A4B3DD
Tritanopia (blue-blind)
#C6ADBA
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8a6df;
/* rgb */ color: rgb(200, 166, 223);
/* oklch */ color: oklch(77.5% 0.088 311.4);
Tailwind
colors: {
  custom: {
    50: '#d9c0e9',
    500: '#c8a6df',
    950: '#000000',
  },
}
SCSS
$custom: #c8a6df;
$custom-light: #d9c0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a6df",
  "rgb": {
    "r": 200,
    "g": 166,
    "b": 223
  },
  "hsl": {
    "h": 275.789,
    "s": 47.107,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77453,
    "c": 0.08755,
    "h": 311.4
  },
  "luminance": 0.4488
}

Semantic roles & 50–950 ramp

primary
#C8A6DF
secondary
#E4EEDD
accent
#BA2B65
background
#FDFBFE
surface
#FAF7FC
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C8A6DF

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

Preview Lab → · Contrast checker → · Palette generator →

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