#C2A4EA#C2A4EA

#C2A4EA is a light, moderate violet. Relative luminance 0.440; OKLCH L 77.0% C 0.103 H 303.7°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#C2A4EA
RGBrgb(194, 164, 234)
HSLhsl(266, 63%, 78%)
HSVhsv(266, 30%, 92%)
CMYKcmyk(17.1%, 29.9%, 0%, 8.2%)
CIE-LABlab(72.20, 24.44, -31.11)
CIE-LCHlch(72.20, 39.56, 308.16°)
OKLaboklab(76.99% 0.0571 -0.0855)
OKLCHoklch(76.99% 0.103 303.7)
XYZxyz(50.3719, 43.9609, 83.6575)
Luminance0.4396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A4EA #CCEAA4
analogous
#A4A9EA #C2A4EA #E5A4EA
triadic
#C2A4EA #EAC2A4 #A4EAC2
tetradic
#C2A4EA #EAA4A9 #CCEAA4 #A4EAE5
square
#C2A4EA #EAA4A9 #CCEAA4 #A4EAE5
split-complementary
#C2A4EA #EAE5A4 #A9EAA4
monochromatic
#7F41D3 #A172DF #C2A4EA #E3D6F5 #EEE6F9

Accessibility & contrast

On white

2.14
#C2A4EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#C2A4EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A4EA
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A4EA#FFFFFF#000000##000000
##C2A4EA1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B0ED
Deuteranopia (green-blind)
#9BB1E8
Tritanopia (blue-blind)
#BCAEBD
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c2a4ea;
/* rgb */ color: rgb(194, 164, 234);
/* oklch */ color: oklch(77.0% 0.103 303.7);
Tailwind
colors: {
  custom: {
    50: '#d5bff1',
    500: '#c2a4ea',
    950: '#000000',
  },
}
SCSS
$custom: #c2a4ea;
$custom-light: #d5bff1;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a4ea",
  "rgb": {
    "r": 194,
    "g": 164,
    "b": 234
  },
  "hsl": {
    "h": 265.714,
    "s": 62.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76992,
    "c": 0.10283,
    "h": 303.7
  },
  "luminance": 0.43961
}

Semantic roles & 50–950 ramp

primary
#C2A4EA
secondary
#E7F1DA
accent
#CA1B7F
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C2A4EA

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

Preview Lab → · Contrast checker → · Palette generator →

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