#C8AAF1#C8AAF1

#C8AAF1 is a light, moderate violet. Relative luminance 0.474; OKLCH L 78.9% C 0.104 H 303.5°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#C8AAF1
RGBrgb(200, 170, 241)
HSLhsl(265, 72%, 81%)
HSVhsv(265, 29%, 95%)
CMYKcmyk(17%, 29.5%, 0%, 5.5%)
CIE-LABlab(74.43, 24.50, -31.43)
CIE-LCHlch(74.43, 39.85, 307.93°)
OKLaboklab(78.92% 0.0571 -0.0864)
OKLCHoklch(78.92% 0.104 303.5)
XYZxyz(54.0681, 47.3798, 89.4988)
Luminance0.4738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AAF1 #D3F1AA
analogous
#AAAFF1 #C8AAF1 #EBAAF1
triadic
#C8AAF1 #F1C8AA #AAF1C8
tetradic
#C8AAF1 #F1AAAF #D3F1AA #AAF1EB
square
#C8AAF1 #F1AAAF #D3F1AA #AAF1EB
split-complementary
#C8AAF1 #F1EBAA #AFF1AA
monochromatic
#8441E0 #A675E8 #C8AAF1 #EADFFA #EEE5FB

Accessibility & contrast

On white

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

On black

10.48
#C8AAF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AAF1
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AAF1#FFFFFF#000000##000000
##C8AAF11.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB6F4
Deuteranopia (green-blind)
#A1B7EF
Tritanopia (blue-blind)
#C2B4C3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8aaf1;
/* rgb */ color: rgb(200, 170, 241);
/* oklch */ color: oklch(78.9% 0.104 303.5);
Tailwind
colors: {
  custom: {
    50: '#d9c3f6',
    500: '#c8aaf1',
    950: '#000000',
  },
}
SCSS
$custom: #c8aaf1;
$custom-light: #d9c3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aaf1",
  "rgb": {
    "r": 200,
    "g": 170,
    "b": 241
  },
  "hsl": {
    "h": 265.352,
    "s": 71.717,
    "l": 80.588
  },
  "oklch": {
    "l": 0.78915,
    "c": 0.10356,
    "h": 303.5
  },
  "luminance": 0.4738
}

Semantic roles & 50–950 ramp

primary
#C8AAF1
secondary
#E7F2D9
accent
#D41282
background
#FDFCFF
surface
#FAF8FE
border
#D3D1D6
text
#151217
muted
#838185

Preview Lab

Preview with #C8AAF1

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

Preview Lab → · Contrast checker → · Palette generator →

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