#C8A8EC#C8A8EC

#C8A8EC is a light, moderate violet. Relative luminance 0.463; OKLCH L 78.3% C 0.100 H 305.7°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#C8A8EC
RGBrgb(200, 168, 236)
HSLhsl(268, 64%, 79%)
HSVhsv(268, 29%, 93%)
CMYKcmyk(15.3%, 28.8%, 0%, 7.5%)
CIE-LABlab(73.77, 24.52, -29.74)
CIE-LCHlch(73.77, 38.54, 309.50°)
OKLaboklab(78.34% 0.0586 -0.0816)
OKLCHoklch(78.34% 0.1 305.7)
XYZxyz(52.9595, 46.3410, 85.4953)
Luminance0.4634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A8EC #CCECA8
analogous
#A8AAEC #C8A8EC #EAA8EC
triadic
#C8A8EC #ECC8A8 #A8ECC8
tetradic
#C8A8EC #ECA8AA #CCECA8 #A8ECEA
square
#C8A8EC #ECA8AA #CCECA8 #A8ECEA
split-complementary
#C8A8EC #ECEAA8 #AAECA8
monochromatic
#8844D6 #A876E1 #C8A8EC #E8DAF7 #EFE6FA

Accessibility & contrast

On white

2.05
#C8A8EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#C8A8EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A8EC
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A8EC#FFFFFF#000000##000000
##C8A8EC1.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB4EF
Deuteranopia (green-blind)
#A1B5EA
Tritanopia (blue-blind)
#C3B2C0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8a8ec;
/* rgb */ color: rgb(200, 168, 236);
/* oklch */ color: oklch(78.3% 0.100 305.7);
Tailwind
colors: {
  custom: {
    50: '#d9c2f2',
    500: '#c8a8ec',
    950: '#000000',
  },
}
SCSS
$custom: #c8a8ec;
$custom-light: #d9c2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a8ec",
  "rgb": {
    "r": 200,
    "g": 168,
    "b": 236
  },
  "hsl": {
    "h": 268.235,
    "s": 64.151,
    "l": 79.216
  },
  "oklch": {
    "l": 0.78342,
    "c": 0.10047,
    "h": 305.7
  },
  "luminance": 0.46341
}

Semantic roles & 50–950 ramp

primary
#C8A8EC
secondary
#E6F1DA
accent
#CC1A78
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8A8EC

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

Preview Lab → · Contrast checker → · Palette generator →

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