#BAA2EC#BAA2EC

#BAA2EC is a light, moderate violet. Relative luminance 0.423; OKLCH L 76.0% C 0.107 H 298.7°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#BAA2EC
RGBrgb(186, 162, 236)
HSLhsl(259, 66%, 78%)
HSVhsv(259, 31%, 93%)
CMYKcmyk(21.2%, 31.4%, 0%, 7.5%)
CIE-LABlab(71.10, 23.58, -33.96)
CIE-LCHlch(71.10, 41.34, 304.78°)
OKLaboklab(76.01% 0.0514 -0.0938)
OKLCHoklch(76.01% 0.107 298.7)
XYZxyz(48.3070, 42.3356, 84.9672)
Luminance0.4234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA2EC #D4ECA2
analogous
#A2AFEC #BAA2EC #DFA2EC
triadic
#BAA2EC #ECBAA2 #A2ECBA
tetradic
#BAA2EC #ECA2AF #D4ECA2 #A2ECDF
square
#BAA2EC #ECA2AF #D4ECA2 #A2ECDF
split-complementary
#BAA2EC #ECDFA2 #AFECA2
monochromatic
#6F3CD7 #946FE2 #BAA2EC #E0D5F6 #ECE6FA

Accessibility & contrast

On white

2.22
#BAA2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#BAA2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA2EC
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA2EC#FFFFFF#000000##000000
##BAA2EC1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AEEF
Deuteranopia (green-blind)
#95ADEA
Tritanopia (blue-blind)
#B1AEBD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #baa2ec;
/* rgb */ color: rgb(186, 162, 236);
/* oklch */ color: oklch(76.0% 0.107 298.7);
Tailwind
colors: {
  custom: {
    50: '#cfbdf2',
    500: '#baa2ec',
    950: '#000000',
  },
}
SCSS
$custom: #baa2ec;
$custom-light: #cfbdf2;
$custom-dark: #000000;
JSON
{
  "hex": "#baa2ec",
  "rgb": {
    "r": 186,
    "g": 162,
    "b": 236
  },
  "hsl": {
    "h": 259.459,
    "s": 66.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76007,
    "c": 0.10695,
    "h": 298.7
  },
  "luminance": 0.42336
}

Semantic roles & 50–950 ramp

primary
#BAA2EC
secondary
#EAF1DA
accent
#CE1893
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #BAA2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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