#BAA6F2#BAA6F2

#BAA6F2 is a light, moderate violet. Relative luminance 0.441; OKLCH L 77.0% C 0.109 H 295.8°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#BAA6F2
RGBrgb(186, 166, 242)
HSLhsl(256, 75%, 80%)
HSVhsv(256, 31%, 95%)
CMYKcmyk(23.1%, 31.4%, 0%, 5.1%)
CIE-LABlab(72.31, 22.74, -35.35)
CIE-LCHlch(72.31, 42.03, 302.75°)
OKLaboklab(77.01% 0.0473 -0.0978)
OKLCHoklch(77.01% 0.109 295.8)
XYZxyz(49.9092, 44.1219, 89.8741)
Luminance0.4412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA6F2 #DEF2A6
analogous
#A6B8F2 #BAA6F2 #E0A6F2
triadic
#BAA6F2 #F2BAA6 #A6F2BA
tetradic
#BAA6F2 #F2A6B8 #DEF2A6 #A6F2E0
square
#BAA6F2 #F2A6B8 #DEF2A6 #A6F2E0
split-complementary
#BAA6F2 #F2E0A6 #B8F2A6
monochromatic
#673BE2 #9171EA #BAA6F2 #E3DBFA #EAE4FB

Accessibility & contrast

On white

2.14
#BAA6F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#BAA6F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA6F2
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA6F2#FFFFFF#000000##000000
##BAA6F21.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B2F5
Deuteranopia (green-blind)
#96B0F0
Tritanopia (blue-blind)
#AFB2C1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #baa6f2;
/* rgb */ color: rgb(186, 166, 242);
/* oklch */ color: oklch(77.0% 0.109 295.8);
Tailwind
colors: {
  custom: {
    50: '#d0c0f6',
    500: '#baa6f2',
    950: '#000000',
  },
}
SCSS
$custom: #baa6f2;
$custom-light: #d0c0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#baa6f2",
  "rgb": {
    "r": 186,
    "g": 166,
    "b": 242
  },
  "hsl": {
    "h": 255.789,
    "s": 74.51,
    "l": 80
  },
  "oklch": {
    "l": 0.77013,
    "c": 0.10865,
    "h": 295.8
  },
  "luminance": 0.44122
}

Semantic roles & 50–950 ramp

primary
#BAA6F2
secondary
#ECF3D8
accent
#D70FA2
background
#FCFBFF
surface
#F9F7FE
border
#D2D0D6
text
#141217
muted
#828185

Preview Lab

Preview with #BAA6F2

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

Preview Lab → · Contrast checker → · Palette generator →

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