#C8AAF5#C8AAF5

#C8AAF5 is a light, moderate violet. Relative luminance 0.476; OKLCH L 79.1% C 0.109 H 302.3°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#C8AAF5
RGBrgb(200, 170, 245)
HSLhsl(264, 79%, 81%)
HSVhsv(264, 31%, 96%)
CMYKcmyk(18.4%, 30.6%, 0%, 3.9%)
CIE-LABlab(74.59, 25.37, -33.36)
CIE-LCHlch(74.59, 41.91, 307.26°)
OKLaboklab(79.08% 0.0582 -0.0919)
OKLCHoklch(79.08% 0.109 302.3)
XYZxyz(54.6722, 47.6214, 92.6801)
Luminance0.4762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AAF5 #D7F5AA
analogous
#AAB2F5 #C8AAF5 #EEAAF5
triadic
#C8AAF5 #F5C8AA #AAF5C8
tetradic
#C8AAF5 #F5AAB2 #D7F5AA #AAF5EE
square
#C8AAF5 #F5AAB2 #D7F5AA #AAF5EE
split-complementary
#C8AAF5 #F5EEAA #B2F5AA
monochromatic
#813CE8 #A573EF #C8AAF5 #EBE1FB #EDE4FC

Accessibility & contrast

On white

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

On black

10.52
#C8AAF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AAF5
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AAF5#FFFFFF#000000##000000
##C8AAF51.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB7F8
Deuteranopia (green-blind)
#A0B7F3
Tritanopia (blue-blind)
#C1B5C5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8aaf5;
/* rgb */ color: rgb(200, 170, 245);
/* oklch */ color: oklch(79.1% 0.109 302.3);
Tailwind
colors: {
  custom: {
    50: '#d9c3f8',
    500: '#c8aaf5',
    950: '#000000',
  },
}
SCSS
$custom: #c8aaf5;
$custom-light: #d9c3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aaf5",
  "rgb": {
    "r": 200,
    "g": 170,
    "b": 245
  },
  "hsl": {
    "h": 264,
    "s": 78.947,
    "l": 81.373
  },
  "oklch": {
    "l": 0.79083,
    "c": 0.10874,
    "h": 302.3
  },
  "luminance": 0.47621
}

Semantic roles & 50–950 ramp

primary
#C8AAF5
secondary
#E8F4D7
accent
#DB0A88
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8AAF5

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

Preview Lab → · Contrast checker → · Palette generator →

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