#C8A7EC#C8A7EC

#C8A7EC is a light, moderate violet. Relative luminance 0.460; OKLCH L 78.2% C 0.102 H 306.0°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#C8A7EC
RGBrgb(200, 167, 236)
HSLhsl(269, 64%, 79%)
HSVhsv(269, 29%, 93%)
CMYKcmyk(15.3%, 29.2%, 0%, 7.5%)
CIE-LABlab(73.53, 25.06, -30.11)
CIE-LCHlch(73.53, 39.18, 309.78°)
OKLaboklab(78.16% 0.0601 -0.0826)
OKLCHoklch(78.16% 0.102 306)
XYZxyz(52.7755, 45.9732, 85.4340)
Luminance0.4597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A7EC #CBECA7
analogous
#A7A9EC #C8A7EC #EBA7EC
triadic
#C8A7EC #ECC8A7 #A7ECC8
tetradic
#C8A7EC #ECA7A9 #CBECA7 #A7ECEB
square
#C8A7EC #ECA7A9 #CBECA7 #A7ECEB
split-complementary
#C8A7EC #ECEBA7 #A9ECA7
monochromatic
#8942D6 #A975E1 #C8A7EC #E7D9F7 #EFE6FA

Accessibility & contrast

On white

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

On black

10.19
#C8A7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A7EC
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A7EC#FFFFFF#000000##000000
##C8A7EC1.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8a7ec;
/* rgb */ color: rgb(200, 167, 236);
/* oklch */ color: oklch(78.2% 0.102 306.0);
Tailwind
colors: {
  custom: {
    50: '#d9c1f2',
    500: '#c8a7ec',
    950: '#000000',
  },
}
SCSS
$custom: #c8a7ec;
$custom-light: #d9c1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a7ec",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 236
  },
  "hsl": {
    "h": 268.696,
    "s": 64.486,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78159,
    "c": 0.10214,
    "h": 306
  },
  "luminance": 0.45973
}

Semantic roles & 50–950 ramp

primary
#C8A7EC
secondary
#E6F1DA
accent
#CC1977
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8A7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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