#C4AAEF#C4AAEF

#C4AAEF is a light, moderate violet. Relative luminance 0.467; OKLCH L 78.5% C 0.100 H 301.4°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#C4AAEF
RGBrgb(196, 170, 239)
HSLhsl(263, 68%, 80%)
HSVhsv(263, 29%, 94%)
CMYKcmyk(18%, 28.9%, 0%, 6.3%)
CIE-LABlab(74.01, 22.84, -31.03)
CIE-LCHlch(74.01, 38.53, 306.36°)
OKLaboklab(78.48% 0.0521 -0.0853)
OKLCHoklch(78.48% 0.1 301.4)
XYZxyz(52.7164, 46.7172, 87.8847)
Luminance0.4672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AAEF #D5EFAA
analogous
#AAB2EF #C4AAEF #E7AAEF
triadic
#C4AAEF #EFC4AA #AAEFC4
tetradic
#C4AAEF #EFAAB2 #D5EFAA #AAEFE7
square
#C4AAEF #EFAAB2 #D5EFAA #AAEFE7
split-complementary
#C4AAEF #EFE7AA #B2EFAA
monochromatic
#7C43DC #A076E5 #C4AAEF #E8DEF9 #EDE5FA

Accessibility & contrast

On white

2.03
#C4AAEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#C4AAEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4AAEF
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4AAEF#FFFFFF#000000##000000
##C4AAEF1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB5F2
Deuteranopia (green-blind)
#A0B6ED
Tritanopia (blue-blind)
#BDB4C3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c4aaef;
/* rgb */ color: rgb(196, 170, 239);
/* oklch */ color: oklch(78.5% 0.100 301.4);
Tailwind
colors: {
  custom: {
    50: '#d6c3f4',
    500: '#c4aaef',
    950: '#000000',
  },
}
SCSS
$custom: #c4aaef;
$custom-light: #d6c3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c4aaef",
  "rgb": {
    "r": 196,
    "g": 170,
    "b": 239
  },
  "hsl": {
    "h": 262.609,
    "s": 68.317,
    "l": 80.196
  },
  "oklch": {
    "l": 0.78482,
    "c": 0.09997,
    "h": 301.4
  },
  "luminance": 0.46717
}

Semantic roles & 50–950 ramp

primary
#C4AAEF
secondary
#E9F2D9
accent
#D0158A
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#141217
muted
#838185

Preview Lab

Preview with #C4AAEF

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

Preview Lab → · Contrast checker → · Palette generator →

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