#C5AAEF#C5AAEF

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

Color values

HEX#C5AAEF
RGBrgb(197, 170, 239)
HSLhsl(263, 68%, 80%)
HSVhsv(263, 29%, 94%)
CMYKcmyk(17.6%, 28.9%, 0%, 6.3%)
CIE-LABlab(74.09, 23.15, -30.89)
CIE-LCHlch(74.09, 38.60, 306.85°)
OKLaboklab(78.57% 0.0532 -0.0849)
OKLCHoklch(78.57% 0.1 302.1)
XYZxyz(52.9775, 46.8518, 87.8969)
Luminance0.4685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AAEF #D4EFAA
analogous
#AAB1EF #C5AAEF #E7AAEF
triadic
#C5AAEF #EFC5AA #AAEFC5
tetradic
#C5AAEF #EFAAB1 #D4EFAA #AAEFE7
square
#C5AAEF #EFAAB1 #D4EFAA #AAEFE7
split-complementary
#C5AAEF #EFE7AA #B1EFAA
monochromatic
#7F43DC #A276E5 #C5AAEF #E8DEF9 #EDE5FA

Accessibility & contrast

On white

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

On black

10.37
#C5AAEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AAEF
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AAEF#FFFFFF#000000##000000
##C5AAEF1.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB6F2
Deuteranopia (green-blind)
#A1B6ED
Tritanopia (blue-blind)
#BEB4C3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c5aaef;
/* rgb */ color: rgb(197, 170, 239);
/* oklch */ color: oklch(78.6% 0.100 302.1);
Tailwind
colors: {
  custom: {
    50: '#d7c3f4',
    500: '#c5aaef',
    950: '#000000',
  },
}
SCSS
$custom: #c5aaef;
$custom-light: #d7c3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c5aaef",
  "rgb": {
    "r": 197,
    "g": 170,
    "b": 239
  },
  "hsl": {
    "h": 263.478,
    "s": 68.317,
    "l": 80.196
  },
  "oklch": {
    "l": 0.78569,
    "c": 0.1002,
    "h": 302.1
  },
  "luminance": 0.46852
}

Semantic roles & 50–950 ramp

primary
#C5AAEF
secondary
#E8F2D9
accent
#D01587
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#141217
muted
#838185

Preview Lab

Preview with #C5AAEF

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

Preview Lab → · Contrast checker → · Palette generator →

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