#BAB2CF#BAB2CF

#BAB2CF is a light, muted violet. Relative luminance 0.468; OKLCH L 77.9% C 0.042 H 298.0°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#BAB2CF
RGBrgb(186, 178, 207)
HSLhsl(257, 23%, 75%)
HSVhsv(257, 14%, 81%)
CMYKcmyk(10.1%, 14%, 0%, 18.8%)
CIE-LABlab(74.05, 8.44, -13.61)
CIE-LCHlch(74.05, 16.02, 301.78°)
OKLaboklab(77.95% 0.0196 -0.0367)
OKLCHoklch(77.95% 0.042 298)
XYZxyz(47.4304, 46.7848, 65.5510)
Luminance0.4678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB2CF #C7CFB2
analogous
#B2B8CF #BAB2CF #C8B2CF
triadic
#BAB2CF #CFBAB2 #B2CFBA
tetradic
#BAB2CF #CFB2B8 #C7CFB2 #B2CFC8
square
#BAB2CF #CFB2B8 #C7CFB2 #B2CFC8
split-complementary
#BAB2CF #CFC8B2 #B8CFB2
monochromatic
#7667A0 #988CB7 #BAB2CF #DCD8E7 #EEECF3

Accessibility & contrast

On white

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

On black

10.36
#BAB2CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB2CF
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB2CF#FFFFFF#000000##000000
##BAB2CF1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADB6D0
Deuteranopia (green-blind)
#AEB6CE
Tritanopia (blue-blind)
#B7B6BB
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bab2cf;
/* rgb */ color: rgb(186, 178, 207);
/* oklch */ color: oklch(77.9% 0.042 298.0);
Tailwind
colors: {
  custom: {
    50: '#cec9dd',
    500: '#bab2cf',
    950: '#000000',
  },
}
SCSS
$custom: #bab2cf;
$custom-light: #cec9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#bab2cf",
  "rgb": {
    "r": 186,
    "g": 178,
    "b": 207
  },
  "hsl": {
    "h": 256.552,
    "s": 23.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.77948,
    "c": 0.04163,
    "h": 298
  },
  "luminance": 0.46785
}

Semantic roles & 50–950 ramp

primary
#BAB2CF
secondary
#E7EAE1
accent
#A24488
background
#FCFCFD
surface
#F9F8FB
border
#D2D1D4
text
#131315
muted
#828283

Preview Lab

Preview with #BAB2CF

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

Preview Lab → · Contrast checker → · Palette generator →

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