#C4A2FF#C4A2FF

#C4A2FF is a light, vivid violet. Relative luminance 0.448; OKLCH L 77.7% C 0.134 H 300.1°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#C4A2FF
RGBrgb(196, 162, 255)
HSLhsl(262, 100%, 82%)
HSVhsv(262, 36%, 100%)
CMYKcmyk(23.1%, 36.5%, 0%, 0%)
CIE-LABlab(72.76, 30.85, -41.64)
CIE-LCHlch(72.76, 51.82, 306.54°)
OKLaboklab(77.74% 0.0671 -0.1156)
OKLCHoklch(77.74% 0.134 300.1)
XYZxyz(53.7313, 44.7962, 100.4042)
Luminance0.4480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A2FF #DDFFA2
analogous
#A2AFFF #C4A2FF #F2A2FF
triadic
#C4A2FF #FFC4A2 #A2FFC4
tetradic
#C4A2FF #FFA2AF #DDFFA2 #A2FFF2
square
#C4A2FF #FFA2AF #DDFFA2 #A2FFF2
split-complementary
#C4A2FF #FFF2A2 #AFFFA2
monochromatic
#7628FF #9D65FF #C4A2FF #EBDFFF #ECE0FF

Accessibility & contrast

On white

2.11
#C4A2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#C4A2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A2FF
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A2FF#FFFFFF#000000##000000
##C4A2FF1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB2FF
Deuteranopia (green-blind)
#92B2FD
Tritanopia (blue-blind)
#B9B1C5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c4a2ff;
/* rgb */ color: rgb(196, 162, 255);
/* oklch */ color: oklch(77.7% 0.134 300.1);
Tailwind
colors: {
  custom: {
    50: '#d7beff',
    500: '#c4a2ff',
    950: '#000000',
  },
}
SCSS
$custom: #c4a2ff;
$custom-light: #d7beff;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a2ff",
  "rgb": {
    "r": 196,
    "g": 162,
    "b": 255
  },
  "hsl": {
    "h": 261.935,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.77737,
    "c": 0.13372,
    "h": 300.1
  },
  "luminance": 0.44796
}

Semantic roles & 50–950 ramp

primary
#C4A2FF
secondary
#EAF7D4
accent
#E60092
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141218
muted
#838186

Preview Lab

Preview with #C4A2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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