#C8A8FA#C8A8FA

#C8A8FA is a light, moderate violet. Relative luminance 0.472; OKLCH L 78.9% C 0.118 H 301.7°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#C8A8FA
RGBrgb(200, 168, 250)
HSLhsl(263, 89%, 82%)
HSVhsv(263, 33%, 98%)
CMYKcmyk(20%, 32.8%, 0%, 2%)
CIE-LABlab(74.31, 27.58, -36.49)
CIE-LCHlch(74.31, 45.74, 307.08°)
OKLaboklab(78.94% 0.0622 -0.1008)
OKLCHoklch(78.94% 0.118 301.7)
XYZxyz(55.0737, 47.1867, 96.6305)
Luminance0.4719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A8FA #DAFAA8
analogous
#A8B1FA #C8A8FA #F1A8FA
triadic
#C8A8FA #FAC8A8 #A8FAC8
tetradic
#C8A8FA #FAA8B1 #DAFAA8 #A8FAF1
square
#C8A8FA #FAA8B1 #DAFAA8 #A8FAF1
split-complementary
#C8A8FA #FAF1A8 #B1FAA8
monochromatic
#7F34F3 #A36EF7 #C8A8FA #EDE2FD #EDE2FD

Accessibility & contrast

On white

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

On black

10.44
#C8A8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A8FA
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A8FA#FFFFFF#000000##000000
##C8A8FA1.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B6FD
Deuteranopia (green-blind)
#9CB6F8
Tritanopia (blue-blind)
#C0B5C6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8a8fa;
/* rgb */ color: rgb(200, 168, 250);
/* oklch */ color: oklch(78.9% 0.118 301.7);
Tailwind
colors: {
  custom: {
    50: '#dac2fc',
    500: '#c8a8fa',
    950: '#000000',
  },
}
SCSS
$custom: #c8a8fa;
$custom-light: #dac2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a8fa",
  "rgb": {
    "r": 200,
    "g": 168,
    "b": 250
  },
  "hsl": {
    "h": 263.415,
    "s": 89.13,
    "l": 81.961
  },
  "oklch": {
    "l": 0.78936,
    "c": 0.11847,
    "h": 301.7
  },
  "luminance": 0.47187
}

Semantic roles & 50–950 ramp

primary
#C8A8FA
secondary
#E9F5D6
accent
#E6008C
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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