#C8A7EE#C8A7EE

#C8A7EE is a light, moderate violet. Relative luminance 0.461; OKLCH L 78.2% C 0.105 H 305.4°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#C8A7EE
RGBrgb(200, 167, 238)
HSLhsl(268, 68%, 79%)
HSVhsv(268, 30%, 93%)
CMYKcmyk(16%, 29.8%, 0%, 6.7%)
CIE-LABlab(73.60, 25.49, -31.08)
CIE-LCHlch(73.60, 40.20, 309.36°)
OKLaboklab(78.24% 0.0606 -0.0854)
OKLCHoklch(78.24% 0.105 305.4)
XYZxyz(53.0677, 46.0901, 86.9729)
Luminance0.4609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A7EE #CDEEA7
analogous
#A7AAEE #C8A7EE #EBA7EE
triadic
#C8A7EE #EEC8A7 #A7EEC8
tetradic
#C8A7EE #EEA7AA #CDEEA7 #A7EEEB
square
#C8A7EE #EEA7AA #CDEEA7 #A7EEEB
split-complementary
#C8A7EE #EEEBA7 #AAEEA7
monochromatic
#8840DA #A874E4 #C8A7EE #E8DAF8 #EFE5FA

Accessibility & contrast

On white

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

On black

10.22
#C8A7EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A7EE
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A7EE#FFFFFF#000000##000000
##C8A7EE1.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B4F1
Deuteranopia (green-blind)
#A0B5EC
Tritanopia (blue-blind)
#C3B1C0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8a7ee;
/* rgb */ color: rgb(200, 167, 238);
/* oklch */ color: oklch(78.2% 0.105 305.4);
Tailwind
colors: {
  custom: {
    50: '#d9c1f3',
    500: '#c8a7ee',
    950: '#000000',
  },
}
SCSS
$custom: #c8a7ee;
$custom-light: #d9c1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a7ee",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 238
  },
  "hsl": {
    "h": 267.887,
    "s": 67.619,
    "l": 79.412
  },
  "oklch": {
    "l": 0.78242,
    "c": 0.10469,
    "h": 305.4
  },
  "luminance": 0.4609
}

Semantic roles & 50–950 ramp

primary
#C8A7EE
secondary
#E6F2D9
accent
#D01679
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8A7EE

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

Preview Lab → · Contrast checker → · Palette generator →

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