#C2A2FF#C2A2FF

#C2A2FF is a light, vivid violet. Relative luminance 0.445; OKLCH L 77.6% C 0.133 H 299.1°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#C2A2FF
RGBrgb(194, 162, 255)
HSLhsl(261, 100%, 82%)
HSVhsv(261, 36%, 100%)
CMYKcmyk(23.9%, 36.5%, 0%, 0%)
CIE-LABlab(72.58, 30.28, -41.93)
CIE-LCHlch(72.58, 51.72, 305.84°)
OKLaboklab(77.56% 0.0649 -0.1165)
OKLCHoklch(77.56% 0.133 299.1)
XYZxyz(53.2144, 44.5297, 100.3799)
Luminance0.4453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A2FF #DFFFA2
analogous
#A2B1FF #C2A2FF #F0A2FF
triadic
#C2A2FF #FFC2A2 #A2FFC2
tetradic
#C2A2FF #FFA2B1 #DFFFA2 #A2FFF0
square
#C2A2FF #FFA2B1 #DFFFA2 #A2FFF0
split-complementary
#C2A2FF #FFF0A2 #B1FFA2
monochromatic
#7228FF #9A65FF #C2A2FF #EADFFF #EBE0FF

Accessibility & contrast

On white

2.12
#C2A2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#C2A2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A2FF
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A2FF#FFFFFF#000000##000000
##C2A2FF1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB2FF
Deuteranopia (green-blind)
#91B1FD
Tritanopia (blue-blind)
#B7B1C5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c2a2ff;
/* rgb */ color: rgb(194, 162, 255);
/* oklch */ color: oklch(77.6% 0.133 299.1);
Tailwind
colors: {
  custom: {
    50: '#d6bdff',
    500: '#c2a2ff',
    950: '#000000',
  },
}
SCSS
$custom: #c2a2ff;
$custom-light: #d6bdff;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a2ff",
  "rgb": {
    "r": 194,
    "g": 162,
    "b": 255
  },
  "hsl": {
    "h": 260.645,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.77561,
    "c": 0.13335,
    "h": 299.1
  },
  "luminance": 0.4453
}

Semantic roles & 50–950 ramp

primary
#C2A2FF
secondary
#EBF7D4
accent
#E60097
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141218
muted
#838186

Preview Lab

Preview with #C2A2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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