#C8A2EC#C8A2EC

#C8A2EC is a light, moderate violet. Relative luminance 0.442; OKLCH L 77.3% C 0.111 H 307.5°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#C8A2EC
RGBrgb(200, 162, 236)
HSLhsl(271, 66%, 78%)
HSVhsv(271, 31%, 93%)
CMYKcmyk(15.3%, 31.4%, 0%, 7.5%)
CIE-LABlab(72.35, 27.81, -31.93)
CIE-LCHlch(72.35, 42.35, 311.06°)
OKLaboklab(77.26% 0.0672 -0.0878)
OKLCHoklch(77.26% 0.111 307.5)
XYZxyz(51.8772, 44.1765, 85.1346)
Luminance0.4418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2EC #C6ECA2
analogous
#A3A2EC #C8A2EC #ECA2EB
triadic
#C8A2EC #ECC8A2 #A2ECC8
tetradic
#C8A2EC #ECA3A2 #C6ECA2 #A2EBEC
square
#C8A2EC #ECA3A2 #C6ECA2 #A2EBEC
split-complementary
#C8A2EC #EBECA2 #A2ECA3
monochromatic
#8C3CD7 #AA6FE2 #C8A2EC #E6D5F6 #F0E6FA

Accessibility & contrast

On white

2.14
#C8A2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#C8A2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2EC
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2EC#FFFFFF#000000##000000
##C8A2EC1.002.149.849.84
#FFFFFF2.141.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B0EF
Deuteranopia (green-blind)
#9CB2EA
Tritanopia (blue-blind)
#C3ACBD
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8a2ec;
/* rgb */ color: rgb(200, 162, 236);
/* oklch */ color: oklch(77.3% 0.111 307.5);
Tailwind
colors: {
  custom: {
    50: '#d9bef2',
    500: '#c8a2ec',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2ec;
$custom-light: #d9bef2;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2ec",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 236
  },
  "hsl": {
    "h": 270.811,
    "s": 66.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.77255,
    "c": 0.11057,
    "h": 307.5
  },
  "luminance": 0.44176
}

Semantic roles & 50–950 ramp

primary
#C8A2EC
secondary
#E5F1DA
accent
#CE1870
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8A2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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