#BAA8F5#BAA8F5

#BAA8F5 is a light, moderate violet. Relative luminance 0.450; OKLCH L 77.5% C 0.110 H 294.4°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#BAA8F5
RGBrgb(186, 168, 245)
HSLhsl(254, 79%, 81%)
HSVhsv(254, 31%, 96%)
CMYKcmyk(24.1%, 31.4%, 0%, 3.9%)
CIE-LABlab(72.92, 22.32, -36.04)
CIE-LCHlch(72.92, 42.39, 301.77°)
OKLaboklab(77.52% 0.0453 -0.0998)
OKLCHoklch(77.52% 0.11 294.4)
XYZxyz(50.7299, 45.0364, 92.3887)
Luminance0.4504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA8F5 #E3F5A8
analogous
#A8BCF5 #BAA8F5 #E0A8F5
triadic
#BAA8F5 #F5BAA8 #A8F5BA
tetradic
#BAA8F5 #F5A8BC #E3F5A8 #A8F5E0
square
#BAA8F5 #F5A8BC #E3F5A8 #A8F5E0
split-complementary
#BAA8F5 #F5E0A8 #BCF5A8
monochromatic
#633AE8 #8E71EF #BAA8F5 #E6DFFB #E9E4FC

Accessibility & contrast

On white

2.10
#BAA8F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#BAA8F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA8F5
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA8F5#FFFFFF#000000##000000
##BAA8F51.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B4F8
Deuteranopia (green-blind)
#97B2F3
Tritanopia (blue-blind)
#AEB5C4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #baa8f5;
/* rgb */ color: rgb(186, 168, 245);
/* oklch */ color: oklch(77.5% 0.110 294.4);
Tailwind
colors: {
  custom: {
    50: '#d0c2f8',
    500: '#baa8f5',
    950: '#000000',
  },
}
SCSS
$custom: #baa8f5;
$custom-light: #d0c2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#baa8f5",
  "rgb": {
    "r": 186,
    "g": 168,
    "b": 245
  },
  "hsl": {
    "h": 254.026,
    "s": 79.381,
    "l": 80.98
  },
  "oklch": {
    "l": 0.77517,
    "c": 0.10958,
    "h": 294.4
  },
  "luminance": 0.45037
}

Semantic roles & 50–950 ramp

primary
#BAA8F5
secondary
#EDF4D7
accent
#DC0AAB
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #BAA8F5

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

Preview Lab → · Contrast checker → · Palette generator →

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