#BAB2DF#BAB2DF

#BAB2DF is a light, moderate violet. Relative luminance 0.476; OKLCH L 78.5% C 0.064 H 293.0°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#BAB2DF
RGBrgb(186, 178, 223)
HSLhsl(251, 41%, 79%)
HSVhsv(251, 20%, 87%)
CMYKcmyk(16.6%, 20.2%, 0%, 12.5%)
CIE-LABlab(74.58, 11.82, -21.54)
CIE-LCHlch(74.58, 24.57, 298.77°)
OKLaboklab(78.53% 0.025 -0.0587)
OKLCHoklch(78.53% 0.064 293)
XYZxyz(49.4865, 47.6072, 76.3797)
Luminance0.4761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB2DF #D7DFB2
analogous
#B2C0DF #BAB2DF #D0B2DF
triadic
#BAB2DF #DFBAB2 #B2DFBA
tetradic
#BAB2DF #DFB2C0 #D7DFB2 #B2DFD0
square
#BAB2DF #DFB2C0 #D7DFB2 #B2DFD0
split-complementary
#BAB2DF #DFD0B2 #C0DFB2
monochromatic
#6D5CBB #9387CD #BAB2DF #E1DDF1 #ECE9F6

Accessibility & contrast

On white

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

On black

10.52
#BAB2DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB2DF
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB2DF#FFFFFF#000000##000000
##BAB2DF1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8B8E1
Deuteranopia (green-blind)
#A9B7DE
Tritanopia (blue-blind)
#B3B9C1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bab2df;
/* rgb */ color: rgb(186, 178, 223);
/* oklch */ color: oklch(78.5% 0.064 293.0);
Tailwind
colors: {
  custom: {
    50: '#cfc9e9',
    500: '#bab2df',
    950: '#000000',
  },
}
SCSS
$custom: #bab2df;
$custom-light: #cfc9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#bab2df",
  "rgb": {
    "r": 186,
    "g": 178,
    "b": 223
  },
  "hsl": {
    "h": 250.667,
    "s": 41.284,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78529,
    "c": 0.06381,
    "h": 293
  },
  "luminance": 0.47608
}

Semantic roles & 50–950 ramp

primary
#BAB2DF
secondary
#EAEDDE
accent
#B4319D
background
#FCFCFE
surface
#F9F8FC
border
#D2D1D5
text
#141316
muted
#828284

Preview Lab

Preview with #BAB2DF

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

Preview Lab → · Contrast checker → · Palette generator →

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