#C2AAFF#C2AAFF

#C2AAFF is a light, vivid violet. Relative luminance 0.474; OKLCH L 79.0% C 0.121 H 296.5°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#C2AAFF
RGBrgb(194, 170, 255)
HSLhsl(257, 100%, 83%)
HSVhsv(257, 33%, 100%)
CMYKcmyk(23.9%, 33.3%, 0%, 0%)
CIE-LABlab(74.47, 25.86, -38.98)
CIE-LCHlch(74.47, 46.78, 303.56°)
OKLaboklab(79% 0.0539 -0.1081)
OKLCHoklch(79% 0.121 296.5)
XYZxyz(54.6687, 47.4383, 100.8647)
Luminance0.4744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AAFF #E7FFAA
analogous
#AABCFF #C2AAFF #ECAAFF
triadic
#C2AAFF #FFC2AA #AAFFC2
tetradic
#C2AAFF #FFAABC #E7FFAA #AAFFEC
square
#C2AAFF #FFAABC #E7FFAA #AAFFEC
split-complementary
#C2AAFF #FFECAA #BCFFAA
monochromatic
#6A30FF #966DFF #C2AAFF #E9E0FF #E9E0FF

Accessibility & contrast

On white

2.00
#C2AAFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#C2AAFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AAFF
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AAFF#FFFFFF#000000##000000
##C2AAFF1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B8FF
Deuteranopia (green-blind)
#98B6FD
Tritanopia (blue-blind)
#B6B8C9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c2aaff;
/* rgb */ color: rgb(194, 170, 255);
/* oklch */ color: oklch(79.0% 0.121 296.5);
Tailwind
colors: {
  custom: {
    50: '#d6c3ff',
    500: '#c2aaff',
    950: '#000000',
  },
}
SCSS
$custom: #c2aaff;
$custom-light: #d6c3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c2aaff",
  "rgb": {
    "r": 194,
    "g": 170,
    "b": 255
  },
  "hsl": {
    "h": 256.941,
    "s": 100,
    "l": 83.333
  },
  "oklch": {
    "l": 0.79002,
    "c": 0.12077,
    "h": 296.5
  },
  "luminance": 0.47439
}

Semantic roles & 50–950 ramp

primary
#C2AAFF
secondary
#EDF7D4
accent
#E600A5
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141218
muted
#838186

Preview Lab

Preview with #C2AAFF

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

Preview Lab → · Contrast checker → · Palette generator →

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