#C8AAFE#C8AAFE

#C8AAFE is a light, vivid violet. Relative luminance 0.482; OKLCH L 79.5% C 0.120 H 300.1°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#C8AAFE
RGBrgb(200, 170, 254)
HSLhsl(261, 98%, 83%)
HSVhsv(261, 33%, 100%)
CMYKcmyk(21.3%, 33.1%, 0%, 0.4%)
CIE-LABlab(74.94, 27.38, -37.67)
CIE-LCHlch(74.94, 46.57, 306.01°)
OKLaboklab(79.47% 0.0604 -0.1042)
OKLCHoklch(79.47% 0.12 300.1)
XYZxyz(56.0796, 48.1844, 100.0928)
Luminance0.4819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AAFE #E0FEAA
analogous
#AAB6FE #C8AAFE #F2AAFE
triadic
#C8AAFE #FEC8AA #AAFEC8
tetradic
#C8AAFE #FEAAB6 #E0FEAA #AAFEF2
square
#C8AAFE #FEAAB6 #E0FEAA #AAFEF2
split-complementary
#C8AAFE #FEF2AA #B6FEAA
monochromatic
#7A31FD #A16EFD #C8AAFE #EBE1FF #EBE1FF

Accessibility & contrast

On white

1.97
#C8AAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#C8AAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AAFE
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AAFE#FFFFFF#000000##000000
##C8AAFE1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B8FF
Deuteranopia (green-blind)
#9CB8FC
Tritanopia (blue-blind)
#BEB7C9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8aafe;
/* rgb */ color: rgb(200, 170, 254);
/* oklch */ color: oklch(79.5% 0.120 300.1);
Tailwind
colors: {
  custom: {
    50: '#dac3ff',
    500: '#c8aafe',
    950: '#000000',
  },
}
SCSS
$custom: #c8aafe;
$custom-light: #dac3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aafe",
  "rgb": {
    "r": 200,
    "g": 170,
    "b": 254
  },
  "hsl": {
    "h": 261.429,
    "s": 97.674,
    "l": 83.137
  },
  "oklch": {
    "l": 0.79472,
    "c": 0.12044,
    "h": 300.1
  },
  "luminance": 0.48185
}

Semantic roles & 50–950 ramp

primary
#C8AAFE
secondary
#EAF7D4
accent
#E60094
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #C8AAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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