#BAAAFE#BAAAFE

#BAAAFE is a light, moderate violet. Relative luminance 0.463; OKLCH L 78.3% C 0.119 H 292.2°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#BAAAFE
RGBrgb(186, 170, 254)
HSLhsl(251, 98%, 83%)
HSVhsv(251, 33%, 100%)
CMYKcmyk(26.8%, 33.1%, 0%, 0.4%)
CIE-LABlab(73.77, 23.34, -39.59)
CIE-LCHlch(73.77, 45.95, 300.52°)
OKLaboklab(78.29% 0.0448 -0.1099)
OKLCHoklch(78.29% 0.119 292.2)
XYZxyz(52.5094, 46.3435, 99.9254)
Luminance0.4634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAAFE #EEFEAA
analogous
#AAC4FE #BAAAFE #E4AAFE
triadic
#BAAAFE #FEBAAA #AAFEBA
tetradic
#BAAAFE #FEAAC4 #EEFEAA #AAFEE4
square
#BAAAFE #FEAAC4 #EEFEAA #AAFEE4
split-complementary
#BAAAFE #FEE4AA #C4FEAA
monochromatic
#5831FD #896EFD #BAAAFE #E6E1FF #E6E1FF

Accessibility & contrast

On white

2.05
#BAAAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#BAAAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAAFE
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAAFE#FFFFFF#000000##000000
##BAAAFE1.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B6FF
Deuteranopia (green-blind)
#95B4FC
Tritanopia (blue-blind)
#ABB8C9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baaafe;
/* rgb */ color: rgb(186, 170, 254);
/* oklch */ color: oklch(78.3% 0.119 292.2);
Tailwind
colors: {
  custom: {
    50: '#d0c3ff',
    500: '#baaafe',
    950: '#000000',
  },
}
SCSS
$custom: #baaafe;
$custom-light: #d0c3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#baaafe",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 254
  },
  "hsl": {
    "h": 251.429,
    "s": 97.674,
    "l": 83.137
  },
  "oklch": {
    "l": 0.78291,
    "c": 0.11873,
    "h": 292.2
  },
  "luminance": 0.46344
}

Semantic roles & 50–950 ramp

primary
#BAAAFE
secondary
#F0F7D4
accent
#E600BA
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141218
muted
#828186

Preview Lab

Preview with #BAAAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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