#C8A7EB#C8A7EB

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

Color values

HEX#C8A7EB
RGBrgb(200, 167, 235)
HSLhsl(269, 63%, 79%)
HSVhsv(269, 29%, 92%)
CMYKcmyk(14.9%, 28.9%, 0%, 7.8%)
CIE-LABlab(73.49, 24.85, -29.62)
CIE-LCHlch(73.49, 38.67, 309.99°)
OKLaboklab(78.12% 0.0598 -0.0812)
OKLCHoklch(78.12% 0.101 306.3)
XYZxyz(52.6307, 45.9152, 84.6710)
Luminance0.4592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A7EB #CAEBA7
analogous
#A7A8EB #C8A7EB #EAA7EB
triadic
#C8A7EB #EBC8A7 #A7EBC8
tetradic
#C8A7EB #EBA7A8 #CAEBA7 #A7EBEA
square
#C8A7EB #EBA7A8 #CAEBA7 #A7EBEA
split-complementary
#C8A7EB #EBEAA7 #A8EBA7
monochromatic
#8A43D4 #A975E0 #C8A7EB #E7D9F6 #EFE6F9

Accessibility & contrast

On white

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

On black

10.18
#C8A7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A7EB
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A7EB#FFFFFF#000000##000000
##C8A7EB1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB3EE
Deuteranopia (green-blind)
#A1B5E9
Tritanopia (blue-blind)
#C3B1BF
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8a7eb;
/* rgb */ color: rgb(200, 167, 235);
/* oklch */ color: oklch(78.1% 0.101 306.3);
Tailwind
colors: {
  custom: {
    50: '#d9c1f1',
    500: '#c8a7eb',
    950: '#000000',
  },
}
SCSS
$custom: #c8a7eb;
$custom-light: #d9c1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a7eb",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 235
  },
  "hsl": {
    "h": 269.118,
    "s": 62.963,
    "l": 78.824
  },
  "oklch": {
    "l": 0.78118,
    "c": 0.10088,
    "h": 306.3
  },
  "luminance": 0.45915
}

Semantic roles & 50–950 ramp

primary
#C8A7EB
secondary
#E6F1DA
accent
#CB1B75
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #C8A7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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