#BAA4E5#BAA4E5

#BAA4E5 is a light, moderate violet. Relative luminance 0.426; OKLCH L 76.1% C 0.094 H 299.7°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#BAA4E5
RGBrgb(186, 164, 229)
HSLhsl(260, 56%, 77%)
HSVhsv(260, 28%, 90%)
CMYKcmyk(18.8%, 28.4%, 0%, 10.2%)
CIE-LABlab(71.31, 20.89, -29.80)
CIE-LCHlch(71.31, 36.39, 305.02°)
OKLaboklab(76.08% 0.0467 -0.082)
OKLCHoklch(76.08% 0.094 299.7)
XYZxyz(47.6650, 42.6470, 79.8341)
Luminance0.4265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA4E5 #CFE5A4
analogous
#A4AFE5 #BAA4E5 #DBA4E5
triadic
#BAA4E5 #E5BAA4 #A4E5BA
tetradic
#BAA4E5 #E5A4AF #CFE5A4 #A4E5DB
square
#BAA4E5 #E5A4AF #CFE5A4 #A4E5DB
split-complementary
#BAA4E5 #E5DBA4 #AFE5A4
monochromatic
#7245CA #9674D7 #BAA4E5 #DED4F3 #EDE7F8

Accessibility & contrast

On white

2.20
#BAA4E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#BAA4E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA4E5
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA4E5#FFFFFF#000000##000000
##BAA4E51.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96AEE8
Deuteranopia (green-blind)
#9AAEE3
Tritanopia (blue-blind)
#B2AEBB
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #baa4e5;
/* rgb */ color: rgb(186, 164, 229);
/* oklch */ color: oklch(76.1% 0.094 299.7);
Tailwind
colors: {
  custom: {
    50: '#cfbfed',
    500: '#baa4e5',
    950: '#000000',
  },
}
SCSS
$custom: #baa4e5;
$custom-light: #cfbfed;
$custom-dark: #000000;
JSON
{
  "hex": "#baa4e5",
  "rgb": {
    "r": 186,
    "g": 164,
    "b": 229
  },
  "hsl": {
    "h": 260.308,
    "s": 55.556,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76081,
    "c": 0.09435,
    "h": 299.7
  },
  "luminance": 0.42647
}

Semantic roles & 50–950 ramp

primary
#BAA4E5
secondary
#E9EFDC
accent
#C3228D
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #BAA4E5

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

Preview Lab → · Contrast checker → · Palette generator →

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