#C8A8FE#C8A8FE

#C8A8FE is a light, vivid violet. Relative luminance 0.474; OKLCH L 79.1% C 0.124 H 300.7°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#C8A8FE
RGBrgb(200, 168, 254)
HSLhsl(262, 98%, 83%)
HSVhsv(262, 34%, 100%)
CMYKcmyk(21.3%, 33.9%, 0%, 0.4%)
CIE-LABlab(74.47, 28.48, -38.40)
CIE-LCHlch(74.47, 47.81, 306.56°)
OKLaboklab(79.11% 0.0632 -0.1063)
OKLCHoklch(79.11% 0.124 300.7)
XYZxyz(55.7076, 47.4402, 99.9688)
Luminance0.4744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A8FE #DEFEA8
analogous
#A8B3FE #C8A8FE #F3A8FE
triadic
#C8A8FE #FEC8A8 #A8FEC8
tetradic
#C8A8FE #FEA8B3 #DEFEA8 #A8FEF3
square
#C8A8FE #FEA8B3 #DEFEA8 #A8FEF3
split-complementary
#C8A8FE #FEF3A8 #B3FEA8
monochromatic
#7C2FFD #A26BFD #C8A8FE #ECE1FF #ECE1FF

Accessibility & contrast

On white

2.00
#C8A8FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#C8A8FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A8FE
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A8FE#FFFFFF#000000##000000
##C8A8FE1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B7FF
Deuteranopia (green-blind)
#9AB7FC
Tritanopia (blue-blind)
#BEB6C8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8a8fe;
/* rgb */ color: rgb(200, 168, 254);
/* oklch */ color: oklch(79.1% 0.124 300.7);
Tailwind
colors: {
  custom: {
    50: '#dac2ff',
    500: '#c8a8fe',
    950: '#000000',
  },
}
SCSS
$custom: #c8a8fe;
$custom-light: #dac2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a8fe",
  "rgb": {
    "r": 200,
    "g": 168,
    "b": 254
  },
  "hsl": {
    "h": 262.326,
    "s": 97.727,
    "l": 82.745
  },
  "oklch": {
    "l": 0.79113,
    "c": 0.12364,
    "h": 300.7
  },
  "luminance": 0.4744
}

Semantic roles & 50–950 ramp

primary
#C8A8FE
secondary
#EAF7D4
accent
#E60090
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #C8A8FE

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

Preview Lab → · Contrast checker → · Palette generator →

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