#C8A7FE#C8A7FE

#C8A7FE is a light, vivid violet. Relative luminance 0.471; OKLCH L 78.9% C 0.125 H 301.0°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#C8A7FE
RGBrgb(200, 167, 254)
HSLhsl(263, 98%, 83%)
HSVhsv(263, 34%, 100%)
CMYKcmyk(21.3%, 34.3%, 0%, 0.4%)
CIE-LABlab(74.24, 29.03, -38.77)
CIE-LCHlch(74.24, 48.43, 306.82°)
OKLaboklab(78.93% 0.0645 -0.1073)
OKLCHoklch(78.93% 0.125 301)
XYZxyz(55.5237, 47.0724, 99.9075)
Luminance0.4707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A7FE #DDFEA7
analogous
#A7B1FE #C8A7FE #F4A7FE
triadic
#C8A7FE #FEC8A7 #A7FEC8
tetradic
#C8A7FE #FEA7B1 #DDFEA7 #A7FEF4
square
#C8A7FE #FEA7B1 #DDFEA7 #A7FEF4
split-complementary
#C8A7FE #FEF4A7 #B1FEA7
monochromatic
#7C2EFD #A26AFD #C8A7FE #ECE1FF #ECE1FF

Accessibility & contrast

On white

2.02
#C8A7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#C8A7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A7FE
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A7FE#FFFFFF#000000##000000
##C8A7FE1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B6FF
Deuteranopia (green-blind)
#99B6FC
Tritanopia (blue-blind)
#BFB5C7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8a7fe;
/* rgb */ color: rgb(200, 167, 254);
/* oklch */ color: oklch(78.9% 0.125 301.0);
Tailwind
colors: {
  custom: {
    50: '#dac1ff',
    500: '#c8a7fe',
    950: '#000000',
  },
}
SCSS
$custom: #c8a7fe;
$custom-light: #dac1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a7fe",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 254
  },
  "hsl": {
    "h": 262.759,
    "s": 97.753,
    "l": 82.549
  },
  "oklch": {
    "l": 0.78934,
    "c": 0.12524,
    "h": 301
  },
  "luminance": 0.47073
}

Semantic roles & 50–950 ramp

primary
#C8A7FE
secondary
#EAF7D4
accent
#E6008E
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #C8A7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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