#C6AAEE#C6AAEE

#C6AAEE is a light, moderate violet. Relative luminance 0.469; OKLCH L 78.6% C 0.099 H 303.0°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#C6AAEE
RGBrgb(198, 170, 238)
HSLhsl(265, 67%, 80%)
HSVhsv(265, 29%, 93%)
CMYKcmyk(16.8%, 28.6%, 0%, 6.7%)
CIE-LABlab(74.14, 23.23, -30.26)
CIE-LCHlch(74.14, 38.15, 307.51°)
OKLaboklab(78.61% 0.0541 -0.0831)
OKLCHoklch(78.61% 0.099 303)
XYZxyz(53.0929, 46.9283, 87.1334)
Luminance0.4693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AAEE #D2EEAA
analogous
#AAB0EE #C6AAEE #E8AAEE
triadic
#C6AAEE #EEC6AA #AAEEC6
tetradic
#C6AAEE #EEAAB0 #D2EEAA #AAEEE8
square
#C6AAEE #EEAAB0 #D2EEAA #AAEEE8
split-complementary
#C6AAEE #EEE8AA #B0EEAA
monochromatic
#8244DA #A477E4 #C6AAEE #E8DDF8 #EEE5FA

Accessibility & contrast

On white

2.02
#C6AAEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#C6AAEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AAEE
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AAEE#FFFFFF#000000##000000
##C6AAEE1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB6F1
Deuteranopia (green-blind)
#A1B6EC
Tritanopia (blue-blind)
#C0B4C2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c6aaee;
/* rgb */ color: rgb(198, 170, 238);
/* oklch */ color: oklch(78.6% 0.099 303.0);
Tailwind
colors: {
  custom: {
    50: '#d8c3f3',
    500: '#c6aaee',
    950: '#000000',
  },
}
SCSS
$custom: #c6aaee;
$custom-light: #d8c3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c6aaee",
  "rgb": {
    "r": 198,
    "g": 170,
    "b": 238
  },
  "hsl": {
    "h": 264.706,
    "s": 66.667,
    "l": 80
  },
  "oklch": {
    "l": 0.78615,
    "c": 0.09915,
    "h": 303
  },
  "luminance": 0.46928
}

Semantic roles & 50–950 ramp

primary
#C6AAEE
secondary
#E8F1DA
accent
#CF1783
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#141217
muted
#838185

Preview Lab

Preview with #C6AAEE

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

Preview Lab → · Contrast checker → · Palette generator →

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