#C8A7FF#C8A7FF

#C8A7FF is a light, vivid violet. Relative luminance 0.471; OKLCH L 79.0% C 0.127 H 300.8°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#C8A7FF
RGBrgb(200, 167, 255)
HSLhsl(263, 100%, 83%)
HSVhsv(263, 35%, 100%)
CMYKcmyk(21.6%, 34.5%, 0%, 0%)
CIE-LABlab(74.28, 29.25, -39.24)
CIE-LCHlch(74.28, 48.95, 306.70°)
OKLaboklab(78.98% 0.0648 -0.1087)
OKLCHoklch(78.98% 0.127 300.8)
XYZxyz(55.6842, 47.1367, 100.7530)
Luminance0.4714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A7FF #DEFFA7
analogous
#A7B2FF #C8A7FF #F4A7FF
triadic
#C8A7FF #FFC8A7 #A7FFC8
tetradic
#C8A7FF #FFA7B2 #DEFFA7 #A7FFF4
square
#C8A7FF #FFA7B2 #DEFFA7 #A7FFF4
split-complementary
#C8A7FF #FFF4A7 #B2FFA7
monochromatic
#7B2DFF #A26AFF #C8A7FF #ECE0FF #ECE0FF

Accessibility & contrast

On white

2.01
#C8A7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#C8A7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A7FF
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A7FF#FFFFFF#000000##000000
##C8A7FF1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8a7ff;
/* rgb */ color: rgb(200, 167, 255);
/* oklch */ color: oklch(79.0% 0.127 300.8);
Tailwind
colors: {
  custom: {
    50: '#dac1ff',
    500: '#c8a7ff',
    950: '#000000',
  },
}
SCSS
$custom: #c8a7ff;
$custom-light: #dac1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a7ff",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 255
  },
  "hsl": {
    "h": 262.5,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.78979,
    "c": 0.12653,
    "h": 300.8
  },
  "luminance": 0.47137
}

Semantic roles & 50–950 ramp

primary
#C8A7FF
secondary
#EAF7D4
accent
#E6008F
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #C8A7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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