#C8A3EC#C8A3EC

#C8A3EC is a light, moderate violet. Relative luminance 0.445; OKLCH L 77.4% C 0.109 H 307.2°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#C8A3EC
RGBrgb(200, 163, 236)
HSLhsl(270, 66%, 78%)
HSVhsv(270, 31%, 93%)
CMYKcmyk(15.3%, 30.9%, 0%, 7.5%)
CIE-LABlab(72.58, 27.26, -31.57)
CIE-LCHlch(72.58, 41.71, 310.82°)
OKLaboklab(77.44% 0.0658 -0.0867)
OKLCHoklch(77.44% 0.109 307.2)
XYZxyz(52.0541, 44.5302, 85.1935)
Luminance0.4453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A3EC #C7ECA3
analogous
#A3A3EC #C8A3EC #ECA3EB
triadic
#C8A3EC #ECC8A3 #A3ECC8
tetradic
#C8A3EC #ECA3A3 #C7ECA3 #A3EBEC
square
#C8A3EC #ECA3A3 #C7ECA3 #A3EBEC
split-complementary
#C8A3EC #EBECA3 #A3ECA3
monochromatic
#8B3ED7 #AA70E2 #C8A3EC #E6D6F6 #F0E6FA

Accessibility & contrast

On white

2.12
#C8A3EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#C8A3EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A3EC
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A3EC#FFFFFF#000000##000000
##C8A3EC1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B1EF
Deuteranopia (green-blind)
#9DB2EA
Tritanopia (blue-blind)
#C3ADBD
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8a3ec;
/* rgb */ color: rgb(200, 163, 236);
/* oklch */ color: oklch(77.4% 0.109 307.2);
Tailwind
colors: {
  custom: {
    50: '#d9bef2',
    500: '#c8a3ec',
    950: '#000000',
  },
}
SCSS
$custom: #c8a3ec;
$custom-light: #d9bef2;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a3ec",
  "rgb": {
    "r": 200,
    "g": 163,
    "b": 236
  },
  "hsl": {
    "h": 270.411,
    "s": 65.766,
    "l": 78.235
  },
  "oklch": {
    "l": 0.77435,
    "c": 0.10887,
    "h": 307.2
  },
  "luminance": 0.4453
}

Semantic roles & 50–950 ramp

primary
#C8A3EC
secondary
#E5F1DA
accent
#CE1872
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8A3EC

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

Preview Lab → · Contrast checker → · Palette generator →

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