#C8AAF2#C8AAF2

#C8AAF2 is a light, moderate violet. Relative luminance 0.474; OKLCH L 79.0% C 0.105 H 303.2°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#C8AAF2
RGBrgb(200, 170, 242)
HSLhsl(265, 73%, 81%)
HSVhsv(265, 30%, 95%)
CMYKcmyk(17.4%, 29.8%, 0%, 5.1%)
CIE-LABlab(74.47, 24.71, -31.91)
CIE-LCHlch(74.47, 40.36, 307.75°)
OKLaboklab(78.96% 0.0574 -0.0878)
OKLCHoklch(78.96% 0.105 303.2)
XYZxyz(54.2179, 47.4397, 90.2876)
Luminance0.4744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AAF2 #D4F2AA
analogous
#AAB0F2 #C8AAF2 #ECAAF2
triadic
#C8AAF2 #F2C8AA #AAF2C8
tetradic
#C8AAF2 #F2AAB0 #D4F2AA #AAF2EC
square
#C8AAF2 #F2AAB0 #D4F2AA #AAF2EC
split-complementary
#C8AAF2 #F2ECAA #B0F2AA
monochromatic
#8340E2 #A675EA #C8AAF2 #EADFFA #EEE4FB

Accessibility & contrast

On white

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

On black

10.49
#C8AAF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AAF2
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AAF2#FFFFFF#000000##000000
##C8AAF21.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB6F5
Deuteranopia (green-blind)
#A1B7F0
Tritanopia (blue-blind)
#C1B5C4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8aaf2;
/* rgb */ color: rgb(200, 170, 242);
/* oklch */ color: oklch(79.0% 0.105 303.2);
Tailwind
colors: {
  custom: {
    50: '#d9c3f6',
    500: '#c8aaf2',
    950: '#000000',
  },
}
SCSS
$custom: #c8aaf2;
$custom-light: #d9c3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aaf2",
  "rgb": {
    "r": 200,
    "g": 170,
    "b": 242
  },
  "hsl": {
    "h": 265,
    "s": 73.469,
    "l": 80.784
  },
  "oklch": {
    "l": 0.78956,
    "c": 0.10486,
    "h": 303.2
  },
  "luminance": 0.4744
}

Semantic roles & 50–950 ramp

primary
#C8AAF2
secondary
#E8F3D8
accent
#D61083
background
#FDFCFF
surface
#FAF8FE
border
#D3D1D6
text
#151217
muted
#838185

Preview Lab

Preview with #C8AAF2

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

Preview Lab → · Contrast checker → · Palette generator →

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