#C8A7EA#C8A7EA

#C8A7EA is a light, moderate violet. Relative luminance 0.459; OKLCH L 78.1% C 0.100 H 306.7°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#C8A7EA
RGBrgb(200, 167, 234)
HSLhsl(270, 61%, 79%)
HSVhsv(270, 29%, 92%)
CMYKcmyk(14.5%, 28.6%, 0%, 8.2%)
CIE-LABlab(73.45, 24.64, -29.14)
CIE-LCHlch(73.45, 38.16, 310.22°)
OKLaboklab(78.08% 0.0595 -0.0799)
OKLCHoklch(78.08% 0.1 306.7)
XYZxyz(52.4866, 45.8576, 83.9123)
Luminance0.4586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A7EA #C9EAA7
analogous
#A7A7EA #C8A7EA #E9A7EA
triadic
#C8A7EA #EAC8A7 #A7EAC8
tetradic
#C8A7EA #EAA7A7 #C9EAA7 #A7EAE9
square
#C8A7EA #EAA7A7 #C9EAA7 #A7EAE9
split-complementary
#C8A7EA #EAE9A7 #A7EAA7
monochromatic
#8A44D2 #A976DE #C8A7EA #E7D8F6 #F0E6F9

Accessibility & contrast

On white

2.06
#C8A7EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#C8A7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A7EA
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A7EA#FFFFFF#000000##000000
##C8A7EA1.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB3ED
Deuteranopia (green-blind)
#A1B5E8
Tritanopia (blue-blind)
#C3B0BF
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8a7ea;
/* rgb */ color: rgb(200, 167, 234);
/* oklch */ color: oklch(78.1% 0.100 306.7);
Tailwind
colors: {
  custom: {
    50: '#d9c1f1',
    500: '#c8a7ea',
    950: '#000000',
  },
}
SCSS
$custom: #c8a7ea;
$custom-light: #d9c1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a7ea",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 234
  },
  "hsl": {
    "h": 269.552,
    "s": 61.468,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78077,
    "c": 0.09961,
    "h": 306.7
  },
  "luminance": 0.45857
}

Semantic roles & 50–950 ramp

primary
#C8A7EA
secondary
#E6F0DB
accent
#C91C74
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #C8A7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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