#C7AAEF#C7AAEF

#C7AAEF is a light, moderate violet. Relative luminance 0.471; OKLCH L 78.7% C 0.101 H 303.4°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#C7AAEF
RGBrgb(199, 170, 239)
HSLhsl(265, 68%, 80%)
HSVhsv(265, 29%, 94%)
CMYKcmyk(16.7%, 28.9%, 0%, 6.3%)
CIE-LABlab(74.27, 23.76, -30.61)
CIE-LCHlch(74.27, 38.74, 307.82°)
OKLaboklab(78.74% 0.0555 -0.0841)
OKLCHoklch(78.74% 0.101 303.4)
XYZxyz(53.5048, 47.1236, 87.9216)
Luminance0.4712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AAEF #D2EFAA
analogous
#AAB0EF #C7AAEF #E9AAEF
triadic
#C7AAEF #EFC7AA #AAEFC7
tetradic
#C7AAEF #EFAAB0 #D2EFAA #AAEFE9
square
#C7AAEF #EFAAB0 #D2EFAA #AAEFE9
split-complementary
#C7AAEF #EFE9AA #B0EFAA
monochromatic
#8343DC #A576E5 #C7AAEF #E9DEF9 #EEE5FA

Accessibility & contrast

On white

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

On black

10.42
#C7AAEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AAEF
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AAEF#FFFFFF#000000##000000
##C7AAEF1.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7aaef;
/* rgb */ color: rgb(199, 170, 239);
/* oklch */ color: oklch(78.7% 0.101 303.4);
Tailwind
colors: {
  custom: {
    50: '#d8c3f4',
    500: '#c7aaef',
    950: '#000000',
  },
}
SCSS
$custom: #c7aaef;
$custom-light: #d8c3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c7aaef",
  "rgb": {
    "r": 199,
    "g": 170,
    "b": 239
  },
  "hsl": {
    "h": 265.217,
    "s": 68.317,
    "l": 80.196
  },
  "oklch": {
    "l": 0.78744,
    "c": 0.10071,
    "h": 303.4
  },
  "luminance": 0.47124
}

Semantic roles & 50–950 ramp

primary
#C7AAEF
secondary
#E7F2D9
accent
#D01582
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#141217
muted
#838185

Preview Lab

Preview with #C7AAEF

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

Preview Lab → · Contrast checker → · Palette generator →

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