#BAAAEF#BAAAEF

#BAAAEF is a light, moderate violet. Relative luminance 0.454; OKLCH L 77.6% C 0.098 H 294.6°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#BAAAEF
RGBrgb(186, 170, 239)
HSLhsl(254, 68%, 80%)
HSVhsv(254, 29%, 94%)
CMYKcmyk(22.2%, 28.9%, 0%, 6.3%)
CIE-LABlab(73.17, 19.82, -32.39)
CIE-LCHlch(73.17, 37.98, 301.46°)
OKLaboklab(77.63% 0.041 -0.0894)
OKLCHoklch(77.63% 0.098 294.6)
XYZxyz(50.2008, 45.4200, 87.7668)
Luminance0.4542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAAEF #DFEFAA
analogous
#AABCEF #BAAAEF #DCAAEF
triadic
#BAAAEF #EFBAAA #AAEFBA
tetradic
#BAAAEF #EFAABC #DFEFAA #AAEFDC
square
#BAAAEF #EFAABC #DFEFAA #AAEFDC
split-complementary
#BAAAEF #EFDCAA #BCEFAA
monochromatic
#6643DC #9076E5 #BAAAEF #E4DEF9 #EAE5FA

Accessibility & contrast

On white

2.08
#BAAAEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#BAAAEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAAEF
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAAEF#FFFFFF#000000##000000
##BAAAEF1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB4F2
Deuteranopia (green-blind)
#9BB3ED
Tritanopia (blue-blind)
#AFB5C2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #baaaef;
/* rgb */ color: rgb(186, 170, 239);
/* oklch */ color: oklch(77.6% 0.098 294.6);
Tailwind
colors: {
  custom: {
    50: '#cfc3f4',
    500: '#baaaef',
    950: '#000000',
  },
}
SCSS
$custom: #baaaef;
$custom-light: #cfc3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#baaaef",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 239
  },
  "hsl": {
    "h": 253.913,
    "s": 68.317,
    "l": 80.196
  },
  "oklch": {
    "l": 0.77633,
    "c": 0.09831,
    "h": 294.6
  },
  "luminance": 0.45421
}

Semantic roles & 50–950 ramp

primary
#BAAAEF
secondary
#ECF2D9
accent
#D015A5
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #BAAAEF

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

Preview Lab → · Contrast checker → · Palette generator →

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