#C8AAEF#C8AAEF

#C8AAEF is a light, moderate violet. Relative luminance 0.473; OKLCH L 78.8% C 0.101 H 304.1°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#C8AAEF
RGBrgb(200, 170, 239)
HSLhsl(266, 68%, 80%)
HSVhsv(266, 29%, 94%)
CMYKcmyk(16.3%, 28.9%, 0%, 6.3%)
CIE-LABlab(74.36, 24.06, -30.46)
CIE-LCHlch(74.36, 38.82, 308.31°)
OKLaboklab(78.83% 0.0566 -0.0836)
OKLCHoklch(78.83% 0.101 304.1)
XYZxyz(53.7710, 47.2609, 87.9341)
Luminance0.4726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AAEF #D1EFAA
analogous
#AAAEEF #C8AAEF #EBAAEF
triadic
#C8AAEF #EFC8AA #AAEFC8
tetradic
#C8AAEF #EFAAAE #D1EFAA #AAEFEB
square
#C8AAEF #EFAAAE #D1EFAA #AAEFEB
split-complementary
#C8AAEF #EFEBAA #AEEFAA
monochromatic
#8543DC #A776E5 #C8AAEF #E9DEF9 #EEE5FA

Accessibility & contrast

On white

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

On black

10.45
#C8AAEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AAEF
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AAEF#FFFFFF#000000##000000
##C8AAEF1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8aaef;
/* rgb */ color: rgb(200, 170, 239);
/* oklch */ color: oklch(78.8% 0.101 304.1);
Tailwind
colors: {
  custom: {
    50: '#d9c3f4',
    500: '#c8aaef',
    950: '#000000',
  },
}
SCSS
$custom: #c8aaef;
$custom-light: #d9c3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aaef",
  "rgb": {
    "r": 200,
    "g": 170,
    "b": 239
  },
  "hsl": {
    "h": 266.087,
    "s": 68.317,
    "l": 80.196
  },
  "oklch": {
    "l": 0.78832,
    "c": 0.10099,
    "h": 304.1
  },
  "luminance": 0.47261
}

Semantic roles & 50–950 ramp

primary
#C8AAEF
secondary
#E7F2D9
accent
#D0157F
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8AAEF

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

Preview Lab → · Contrast checker → · Palette generator →

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