#C4A2EB#C4A2EB

#C4A2EB is a light, moderate violet. Relative luminance 0.436; OKLCH L 76.8% C 0.108 H 305.3°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#C4A2EB
RGBrgb(196, 162, 235)
HSLhsl(268, 65%, 78%)
HSVhsv(268, 31%, 92%)
CMYKcmyk(16.6%, 31.1%, 0%, 7.8%)
CIE-LABlab(71.94, 26.38, -32.04)
CIE-LCHlch(71.94, 41.50, 309.46°)
OKLaboklab(76.85% 0.0625 -0.0881)
OKLCHoklch(76.85% 0.108 305.3)
XYZxyz(50.6777, 43.5748, 84.3221)
Luminance0.4358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A2EB #C9EBA2
analogous
#A2A4EB #C4A2EB #E8A2EB
triadic
#C4A2EB #EBC4A2 #A2EBC4
tetradic
#C4A2EB #EBA2A4 #C9EBA2 #A2EBE8
square
#C4A2EB #EBA2A4 #C9EBA2 #A2EBE8
split-complementary
#C4A2EB #EBE8A2 #A4EBA2
monochromatic
#843DD5 #A470E0 #C4A2EB #E4D4F6 #EFE6FA

Accessibility & contrast

On white

2.16
#C4A2EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#C4A2EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A2EB
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A2EB#FFFFFF#000000##000000
##C4A2EB1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AFEE
Deuteranopia (green-blind)
#9AB1E9
Tritanopia (blue-blind)
#BEADBC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c4a2eb;
/* rgb */ color: rgb(196, 162, 235);
/* oklch */ color: oklch(76.8% 0.108 305.3);
Tailwind
colors: {
  custom: {
    50: '#d6bdf1',
    500: '#c4a2eb',
    950: '#000000',
  },
}
SCSS
$custom: #c4a2eb;
$custom-light: #d6bdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a2eb",
  "rgb": {
    "r": 196,
    "g": 162,
    "b": 235
  },
  "hsl": {
    "h": 267.945,
    "s": 64.602,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76848,
    "c": 0.10802,
    "h": 305.3
  },
  "luminance": 0.43575
}

Semantic roles & 50–950 ramp

primary
#C4A2EB
secondary
#E6F1DA
accent
#CC1979
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141217
muted
#838185

Preview Lab

Preview with #C4A2EB

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

Preview Lab → · Contrast checker → · Palette generator →

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