#C8A7E4#C8A7E4

#C8A7E4 is a light, moderate violet. Relative luminance 0.455; OKLCH L 77.8% C 0.092 H 308.9°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#C8A7E4
RGBrgb(200, 167, 228)
HSLhsl(272, 53%, 77%)
HSVhsv(272, 27%, 89%)
CMYKcmyk(12.3%, 26.8%, 0%, 10.6%)
CIE-LABlab(73.23, 23.37, -26.21)
CIE-LCHlch(73.23, 35.11, 311.72°)
OKLaboklab(77.83% 0.0578 -0.0716)
OKLCHoklch(77.83% 0.092 308.9)
XYZxyz(51.6392, 45.5187, 79.4493)
Luminance0.4552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A7E4 #C3E4A7
analogous
#AAA7E4 #C8A7E4 #E4A7E1
triadic
#C8A7E4 #E4C8A7 #A7E4C8
tetradic
#C8A7E4 #E4AAA7 #C3E4A7 #A7E1E4
square
#C8A7E4 #E4AAA7 #C3E4A7 #A7E1E4
split-complementary
#C8A7E4 #E1E4A7 #A7E4AA
monochromatic
#8D49C7 #AB78D6 #C8A7E4 #E5D6F2 #F0E8F8

Accessibility & contrast

On white

2.08
#C8A7E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#C8A7E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A7E4
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A7E4#FFFFFF#000000##000000
##C8A7E41.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB2E7
Deuteranopia (green-blind)
#A3B4E2
Tritanopia (blue-blind)
#C5AFBC
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8a7e4;
/* rgb */ color: rgb(200, 167, 228);
/* oklch */ color: oklch(77.8% 0.092 308.9);
Tailwind
colors: {
  custom: {
    50: '#d9c1ec',
    500: '#c8a7e4',
    950: '#000000',
  },
}
SCSS
$custom: #c8a7e4;
$custom-light: #d9c1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a7e4",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 228
  },
  "hsl": {
    "h": 272.459,
    "s": 53.043,
    "l": 77.451
  },
  "oklch": {
    "l": 0.77835,
    "c": 0.09204,
    "h": 308.9
  },
  "luminance": 0.45518
}

Semantic roles & 50–950 ramp

primary
#C8A7E4
secondary
#E5EFDC
accent
#C0256C
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C8A7E4

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

Preview Lab → · Contrast checker → · Palette generator →

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