#C7AAEC#C7AAEC

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

Color values

HEX#C7AAEC
RGBrgb(199, 170, 236)
HSLhsl(266, 63%, 80%)
HSVhsv(266, 28%, 93%)
CMYKcmyk(15.7%, 28%, 0%, 7.5%)
CIE-LABlab(74.16, 23.11, -29.15)
CIE-LCHlch(74.16, 37.20, 308.40°)
OKLaboklab(78.62% 0.0546 -0.0799)
OKLCHoklch(78.62% 0.097 304.4)
XYZxyz(53.0653, 46.9478, 85.6069)
Luminance0.4695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AAEC #CFECAA
analogous
#AAAEEC #C7AAEC #E8AAEC
triadic
#C7AAEC #ECC7AA #AAECC7
tetradic
#C7AAEC #ECAAAE #CFECAA #AAECE8
square
#C7AAEC #ECAAAE #CFECAA #AAECE8
split-complementary
#C7AAEC #ECE8AA #AEECAA
monochromatic
#8546D6 #A678E1 #C7AAEC #E8DCF7 #EFE6F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7AAEC#FFFFFF#000000##000000
##C7AAEC1.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)
#9DB5EF
Deuteranopia (green-blind)
#A3B6EA
Tritanopia (blue-blind)
#C1B3C1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c7aaec;
/* rgb */ color: rgb(199, 170, 236);
/* oklch */ color: oklch(78.6% 0.097 304.4);
Tailwind
colors: {
  custom: {
    50: '#d8c3f2',
    500: '#c7aaec',
    950: '#000000',
  },
}
SCSS
$custom: #c7aaec;
$custom-light: #d8c3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c7aaec",
  "rgb": {
    "r": 199,
    "g": 170,
    "b": 236
  },
  "hsl": {
    "h": 266.364,
    "s": 63.462,
    "l": 79.608
  },
  "oklch": {
    "l": 0.7862,
    "c": 0.09683,
    "h": 304.4
  },
  "luminance": 0.46948
}

Semantic roles & 50–950 ramp

primary
#C7AAEC
secondary
#E7F1DA
accent
#CB1A7D
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#141217
muted
#838185

Preview Lab

Preview with #C7AAEC

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

Preview Lab → · Contrast checker → · Palette generator →

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