#C8A8EB#C8A8EB

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

Color values

HEX#C8A8EB
RGBrgb(200, 168, 235)
HSLhsl(269, 63%, 79%)
HSVhsv(269, 29%, 92%)
CMYKcmyk(14.9%, 28.5%, 0%, 7.8%)
CIE-LABlab(73.73, 24.30, -29.26)
CIE-LCHlch(73.73, 38.03, 309.71°)
OKLaboklab(78.3% 0.0584 -0.0802)
OKLCHoklch(78.3% 0.099 306)
XYZxyz(52.8146, 46.2830, 84.7323)
Luminance0.4628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A8EB #CBEBA8
analogous
#A8AAEB #C8A8EB #EAA8EB
triadic
#C8A8EB #EBC8A8 #A8EBC8
tetradic
#C8A8EB #EBA8AA #CBEBA8 #A8EBEA
square
#C8A8EB #EBA8AA #CBEBA8 #A8EBEA
split-complementary
#C8A8EB #EBEAA8 #AAEBA8
monochromatic
#8944D4 #A976E0 #C8A8EB #E7DAF6 #EFE6F9

Accessibility & contrast

On white

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

On black

10.26
#C8A8EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A8EB
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A8EB#FFFFFF#000000##000000
##C8A8EB1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB4EE
Deuteranopia (green-blind)
#A2B5E9
Tritanopia (blue-blind)
#C3B1C0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8a8eb;
/* rgb */ color: rgb(200, 168, 235);
/* oklch */ color: oklch(78.3% 0.099 306.0);
Tailwind
colors: {
  custom: {
    50: '#d9c2f1',
    500: '#c8a8eb',
    950: '#000000',
  },
}
SCSS
$custom: #c8a8eb;
$custom-light: #d9c2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a8eb",
  "rgb": {
    "r": 200,
    "g": 168,
    "b": 235
  },
  "hsl": {
    "h": 268.657,
    "s": 62.617,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78301,
    "c": 0.09919,
    "h": 306
  },
  "luminance": 0.46283
}

Semantic roles & 50–950 ramp

primary
#C8A8EB
secondary
#E6F1DA
accent
#CA1B77
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #C8A8EB

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

Preview Lab → · Contrast checker → · Palette generator →

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