#BAAAFF#BAAAFF

#BAAAFF is a light, vivid violet. Relative luminance 0.464; OKLCH L 78.3% C 0.120 H 292.0°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#BAAAFF
RGBrgb(186, 170, 255)
HSLhsl(251, 100%, 83%)
HSVhsv(251, 33%, 100%)
CMYKcmyk(27.1%, 33.3%, 0%, 0%)
CIE-LABlab(73.81, 23.58, -40.06)
CIE-LCHlch(73.81, 46.48, 300.48°)
OKLaboklab(78.34% 0.045 -0.1113)
OKLCHoklch(78.34% 0.12 292)
XYZxyz(52.6700, 46.4077, 100.7710)
Luminance0.4641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAAFF #EFFFAA
analogous
#AAC4FF #BAAAFF #E4AAFF
triadic
#BAAAFF #FFBAAA #AAFFBA
tetradic
#BAAAFF #FFAAC4 #EFFFAA #AAFFE4
square
#BAAAFF #FFAAC4 #EFFFAA #AAFFE4
split-complementary
#BAAAFF #FFE4AA #C4FFAA
monochromatic
#5730FF #886DFF #BAAAFF #E6E0FF #E6E0FF

Accessibility & contrast

On white

2.04
#BAAAFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#BAAAFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAAFF
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAAFF#FFFFFF#000000##000000
##BAAAFF1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B7FF
Deuteranopia (green-blind)
#95B4FD
Tritanopia (blue-blind)
#ABB9C9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baaaff;
/* rgb */ color: rgb(186, 170, 255);
/* oklch */ color: oklch(78.3% 0.120 292.0);
Tailwind
colors: {
  custom: {
    50: '#d0c3ff',
    500: '#baaaff',
    950: '#000000',
  },
}
SCSS
$custom: #baaaff;
$custom-light: #d0c3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#baaaff",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 255
  },
  "hsl": {
    "h": 251.294,
    "s": 100,
    "l": 83.333
  },
  "oklch": {
    "l": 0.78337,
    "c": 0.12007,
    "h": 292
  },
  "luminance": 0.46409
}

Semantic roles & 50–950 ramp

primary
#BAAAFF
secondary
#F1F7D4
accent
#E600BA
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141218
muted
#828186

Preview Lab

Preview with #BAAAFF

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

Preview Lab → · Contrast checker → · Palette generator →

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