#C2ABFF#C2ABFF

#C2ABFF is a light, moderate violet. Relative luminance 0.478; OKLCH L 79.2% C 0.119 H 296.2°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#C2ABFF
RGBrgb(194, 171, 255)
HSLhsl(256, 100%, 84%)
HSVhsv(256, 33%, 100%)
CMYKcmyk(23.9%, 32.9%, 0%, 0%)
CIE-LABlab(74.71, 25.31, -38.61)
CIE-LCHlch(74.71, 46.17, 303.25°)
OKLaboklab(79.18% 0.0526 -0.107)
OKLCHoklch(79.18% 0.119 296.2)
XYZxyz(54.8569, 47.8146, 100.9274)
Luminance0.4782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2ABFF #E8FFAB
analogous
#ABBEFF #C2ABFF #ECABFF
triadic
#C2ABFF #FFC2AB #ABFFC2
tetradic
#C2ABFF #FFABBE #E8FFAB #ABFFEC
square
#C2ABFF #FFABBE #E8FFAB #ABFFEC
split-complementary
#C2ABFF #FFECAB #BEFFAB
monochromatic
#6931FF #966EFF #C2ABFF #E9E0FF #E9E0FF

Accessibility & contrast

On white

1.99
#C2ABFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#C2ABFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2ABFF
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2ABFF#FFFFFF#000000##000000
##C2ABFF1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B8FF
Deuteranopia (green-blind)
#99B7FD
Tritanopia (blue-blind)
#B6B9CA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c2abff;
/* rgb */ color: rgb(194, 171, 255);
/* oklch */ color: oklch(79.2% 0.119 296.2);
Tailwind
colors: {
  custom: {
    50: '#d6c4ff',
    500: '#c2abff',
    950: '#000000',
  },
}
SCSS
$custom: #c2abff;
$custom-light: #d6c4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c2abff",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 255
  },
  "hsl": {
    "h": 256.429,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.79184,
    "c": 0.11922,
    "h": 296.2
  },
  "luminance": 0.47815
}

Semantic roles & 50–950 ramp

primary
#C2ABFF
secondary
#EEF7D4
accent
#E600A7
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141218
muted
#838186

Preview Lab

Preview with #C2ABFF

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

Preview Lab → · Contrast checker → · Palette generator →

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