#C8AEF1#C8AEF1

#C8AEF1 is a light, moderate violet. Relative luminance 0.489; OKLCH L 79.7% C 0.097 H 302.0°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#C8AEF1
RGBrgb(200, 174, 241)
HSLhsl(263, 71%, 81%)
HSVhsv(263, 28%, 95%)
CMYKcmyk(17%, 27.8%, 0%, 5.5%)
CIE-LABlab(75.39, 22.30, -29.96)
CIE-LCHlch(75.39, 37.34, 306.67°)
OKLaboklab(79.65% 0.0514 -0.0822)
OKLCHoklch(79.65% 0.097 302)
XYZxyz(54.8294, 48.9023, 89.7526)
Luminance0.4890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AEF1 #D7F1AE
analogous
#AEB6F1 #C8AEF1 #EAAEF1
triadic
#C8AEF1 #F1C8AE #AEF1C8
tetradic
#C8AEF1 #F1AEB6 #D7F1AE #AEF1EA
square
#C8AEF1 #F1AEB6 #D7F1AE #AEF1EA
split-complementary
#C8AEF1 #F1EAAE #B6F1AE
monochromatic
#8146DF #A57AE8 #C8AEF1 #EBE2FA #EDE5FA

Accessibility & contrast

On white

1.95
#C8AEF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#C8AEF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AEF1
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AEF1#FFFFFF#000000##000000
##C8AEF11.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0B9F4
Deuteranopia (green-blind)
#A5BAEF
Tritanopia (blue-blind)
#C1B8C6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c8aef1;
/* rgb */ color: rgb(200, 174, 241);
/* oklch */ color: oklch(79.7% 0.097 302.0);
Tailwind
colors: {
  custom: {
    50: '#d9c6f5',
    500: '#c8aef1',
    950: '#000000',
  },
}
SCSS
$custom: #c8aef1;
$custom-light: #d9c6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aef1",
  "rgb": {
    "r": 200,
    "g": 174,
    "b": 241
  },
  "hsl": {
    "h": 263.284,
    "s": 70.526,
    "l": 81.373
  },
  "oklch": {
    "l": 0.7965,
    "c": 0.09699,
    "h": 302
  },
  "luminance": 0.48902
}

Semantic roles & 50–950 ramp

primary
#C8AEF1
secondary
#E8F2D9
accent
#D31388
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#151317
muted
#838285

Preview Lab

Preview with #C8AEF1

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

Preview Lab → · Contrast checker → · Palette generator →

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