#C8AAEE#C8AAEE

#C8AAEE is a light, moderate violet. Relative luminance 0.472; OKLCH L 78.8% C 0.100 H 304.4°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#C8AAEE
RGBrgb(200, 170, 238)
HSLhsl(266, 67%, 80%)
HSVhsv(266, 29%, 93%)
CMYKcmyk(16%, 28.6%, 0%, 6.7%)
CIE-LABlab(74.32, 23.85, -29.98)
CIE-LCHlch(74.32, 38.31, 308.50°)
OKLaboklab(78.79% 0.0563 -0.0823)
OKLCHoklch(78.79% 0.1 304.4)
XYZxyz(53.6237, 47.2020, 87.1582)
Luminance0.4720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AAEE #D0EEAA
analogous
#AAAEEE #C8AAEE #EAAAEE
triadic
#C8AAEE #EEC8AA #AAEEC8
tetradic
#C8AAEE #EEAAAE #D0EEAA #AAEEEA
square
#C8AAEE #EEAAAE #D0EEAA #AAEEEA
split-complementary
#C8AAEE #EEEAAA #AEEEAA
monochromatic
#8644DA #A777E4 #C8AAEE #E9DDF8 #EFE5FA

Accessibility & contrast

On white

2.01
#C8AAEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#C8AAEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AAEE
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AAEE#FFFFFF#000000##000000
##C8AAEE1.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB6F1
Deuteranopia (green-blind)
#A2B7EC
Tritanopia (blue-blind)
#C2B4C2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8aaee;
/* rgb */ color: rgb(200, 170, 238);
/* oklch */ color: oklch(78.8% 0.100 304.4);
Tailwind
colors: {
  custom: {
    50: '#d9c3f3',
    500: '#c8aaee',
    950: '#000000',
  },
}
SCSS
$custom: #c8aaee;
$custom-light: #d9c3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aaee",
  "rgb": {
    "r": 200,
    "g": 170,
    "b": 238
  },
  "hsl": {
    "h": 266.471,
    "s": 66.667,
    "l": 80
  },
  "oklch": {
    "l": 0.7879,
    "c": 0.0997,
    "h": 304.4
  },
  "luminance": 0.47202
}

Semantic roles & 50–950 ramp

primary
#C8AAEE
secondary
#E7F1DA
accent
#CF177E
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8AAEE

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

Preview Lab → · Contrast checker → · Palette generator →

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