#C2ABEF#C2ABEF

#C2ABEF is a light, moderate violet. Relative luminance 0.468; OKLCH L 78.5% C 0.098 H 299.7°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#C2ABEF
RGBrgb(194, 171, 239)
HSLhsl(260, 68%, 80%)
HSVhsv(260, 28%, 94%)
CMYKcmyk(18.8%, 28.5%, 0%, 6.3%)
CIE-LABlab(74.08, 21.68, -30.93)
CIE-LCHlch(74.08, 37.78, 305.03°)
OKLaboklab(78.5% 0.0485 -0.0851)
OKLCHoklch(78.5% 0.098 299.7)
XYZxyz(52.3877, 46.8270, 87.9232)
Luminance0.4683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2ABEF #D8EFAB
analogous
#ABB6EF #C2ABEF #E4ABEF
triadic
#C2ABEF #EFC2AB #ABEFC2
tetradic
#C2ABEF #EFABB6 #D8EFAB #ABEFE4
square
#C2ABEF #EFABB6 #D8EFAB #ABEFE4
split-complementary
#C2ABEF #EFE4AB #B6EFAB
monochromatic
#7744DB #9D78E5 #C2ABEF #E7DEF9 #ECE5FA

Accessibility & contrast

On white

2.03
#C2ABEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#C2ABEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2ABEF
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2ABEF#FFFFFF#000000##000000
##C2ABEF1.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB6F2
Deuteranopia (green-blind)
#A0B6ED
Tritanopia (blue-blind)
#BAB5C3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c2abef;
/* rgb */ color: rgb(194, 171, 239);
/* oklch */ color: oklch(78.5% 0.098 299.7);
Tailwind
colors: {
  custom: {
    50: '#d5c4f4',
    500: '#c2abef',
    950: '#000000',
  },
}
SCSS
$custom: #c2abef;
$custom-light: #d5c4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c2abef",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 239
  },
  "hsl": {
    "h": 260.294,
    "s": 68,
    "l": 80.392
  },
  "oklch": {
    "l": 0.78495,
    "c": 0.09791,
    "h": 299.7
  },
  "luminance": 0.46827
}

Semantic roles & 50–950 ramp

primary
#C2ABEF
secondary
#E9F2D9
accent
#D01691
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#141217
muted
#838185

Preview Lab

Preview with #C2ABEF

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

Preview Lab → · Contrast checker → · Palette generator →

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