#C8A0EC#C8A0EC

#C8A0EC is a light, moderate violet. Relative luminance 0.435; OKLCH L 76.9% C 0.114 H 308.0°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#C8A0EC
RGBrgb(200, 160, 236)
HSLhsl(272, 67%, 78%)
HSVhsv(272, 32%, 93%)
CMYKcmyk(15.3%, 32.2%, 0%, 7.5%)
CIE-LABlab(71.88, 28.91, -32.65)
CIE-LCHlch(71.88, 43.62, 311.52°)
OKLaboklab(76.9% 0.0701 -0.0898)
OKLCHoklch(76.9% 0.114 308)
XYZxyz(51.5277, 43.4775, 85.0181)
Luminance0.4348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A0EC #C4ECA0
analogous
#A2A0EC #C8A0EC #ECA0EA
triadic
#C8A0EC #ECC8A0 #A0ECC8
tetradic
#C8A0EC #ECA2A0 #C4ECA0 #A0EAEC
square
#C8A0EC #ECA2A0 #C4ECA0 #A0EAEC
split-complementary
#C8A0EC #EAECA0 #A0ECA2
monochromatic
#8D3AD8 #AA6DE2 #C8A0EC #E6D3F6 #F0E5FA

Accessibility & contrast

On white

2.17
#C8A0EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#C8A0EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A0EC
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A0EC#FFFFFF#000000##000000
##C8A0EC1.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AEEF
Deuteranopia (green-blind)
#9AB1EA
Tritanopia (blue-blind)
#C3ABBC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8a0ec;
/* rgb */ color: rgb(200, 160, 236);
/* oklch */ color: oklch(76.9% 0.114 308.0);
Tailwind
colors: {
  custom: {
    50: '#d9bcf2',
    500: '#c8a0ec',
    950: '#000000',
  },
}
SCSS
$custom: #c8a0ec;
$custom-light: #d9bcf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a0ec",
  "rgb": {
    "r": 200,
    "g": 160,
    "b": 236
  },
  "hsl": {
    "h": 271.579,
    "s": 66.667,
    "l": 77.647
  },
  "oklch": {
    "l": 0.76897,
    "c": 0.11394,
    "h": 308
  },
  "luminance": 0.43477
}

Semantic roles & 50–950 ramp

primary
#C8A0EC
secondary
#E5F1DA
accent
#CF176E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8A0EC

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

Preview Lab → · Contrast checker → · Palette generator →

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