#C2ABFE#C2ABFE

#C2ABFE is a light, moderate violet. Relative luminance 0.478; OKLCH L 79.1% C 0.118 H 296.3°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#C2ABFE
RGBrgb(194, 171, 254)
HSLhsl(257, 98%, 83%)
HSVhsv(257, 33%, 100%)
CMYKcmyk(23.6%, 32.7%, 0%, 0.4%)
CIE-LABlab(74.67, 25.08, -38.14)
CIE-LCHlch(74.67, 45.64, 303.33°)
OKLaboklab(79.14% 0.0523 -0.1056)
OKLCHoklch(79.14% 0.118 296.3)
XYZxyz(54.6963, 47.7504, 100.0818)
Luminance0.4775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2ABFE #E7FEAB
analogous
#ABBDFE #C2ABFE #ECABFE
triadic
#C2ABFE #FEC2AB #ABFEC2
tetradic
#C2ABFE #FEABBD #E7FEAB #ABFEEC
square
#C2ABFE #FEABBD #E7FEAB #ABFEEC
split-complementary
#C2ABFE #FEECAB #BDFEAB
monochromatic
#6A32FD #966FFD #C2ABFE #E9E1FF #E9E1FF

Accessibility & contrast

On white

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

On black

10.55
#C2ABFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2ABFE
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2ABFE#FFFFFF#000000##000000
##C2ABFE1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B8FF
Deuteranopia (green-blind)
#9AB7FC
Tritanopia (blue-blind)
#B6B9C9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c2abfe;
/* rgb */ color: rgb(194, 171, 254);
/* oklch */ color: oklch(79.1% 0.118 296.3);
Tailwind
colors: {
  custom: {
    50: '#d5c4ff',
    500: '#c2abfe',
    950: '#000000',
  },
}
SCSS
$custom: #c2abfe;
$custom-light: #d5c4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c2abfe",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 254
  },
  "hsl": {
    "h": 256.627,
    "s": 97.647,
    "l": 83.333
  },
  "oklch": {
    "l": 0.7914,
    "c": 0.11789,
    "h": 296.3
  },
  "luminance": 0.47751
}

Semantic roles & 50–950 ramp

primary
#C2ABFE
secondary
#EDF7D4
accent
#E600A6
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141218
muted
#838186

Preview Lab

Preview with #C2ABFE

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

Preview Lab → · Contrast checker → · Palette generator →

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