#BAA2FD#BAA2FD

#BAA2FD is a light, vivid violet. Relative luminance 0.434; OKLCH L 76.8% C 0.130 H 295.3°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#BAA2FD
RGBrgb(186, 162, 253)
HSLhsl(256, 96%, 81%)
HSVhsv(256, 36%, 99%)
CMYKcmyk(26.5%, 36%, 0%, 0.8%)
CIE-LABlab(71.81, 27.55, -42.10)
CIE-LCHlch(71.81, 50.32, 303.20°)
OKLaboklab(76.78% 0.0554 -0.1172)
OKLCHoklch(76.78% 0.13 295.3)
XYZxyz(50.8954, 43.3710, 98.5995)
Luminance0.4337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA2FD #E5FDA2
analogous
#A2B8FD #BAA2FD #E8A2FD
triadic
#BAA2FD #FDBAA2 #A2FDBA
tetradic
#BAA2FD #FDA2B8 #E5FDA2 #A2FDE8
square
#BAA2FD #FDA2B8 #E5FDA2 #A2FDE8
split-complementary
#BAA2FD #FDE8A2 #B8FDA2
monochromatic
#612AFA #8E66FC #BAA2FD #E6DEFE #E9E1FE

Accessibility & contrast

On white

2.17
#BAA2FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#BAA2FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA2FD
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA2FD#FFFFFF#000000##000000
##BAA2FD1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB1FF
Deuteranopia (green-blind)
#8DAFFB
Tritanopia (blue-blind)
#ACB2C4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #baa2fd;
/* rgb */ color: rgb(186, 162, 253);
/* oklch */ color: oklch(76.8% 0.130 295.3);
Tailwind
colors: {
  custom: {
    50: '#d0bdfe',
    500: '#baa2fd',
    950: '#000000',
  },
}
SCSS
$custom: #baa2fd;
$custom-light: #d0bdfe;
$custom-dark: #000000;
JSON
{
  "hex": "#baa2fd",
  "rgb": {
    "r": 186,
    "g": 162,
    "b": 253
  },
  "hsl": {
    "h": 255.824,
    "s": 95.789,
    "l": 81.373
  },
  "oklch": {
    "l": 0.76777,
    "c": 0.12962,
    "h": 295.3
  },
  "luminance": 0.43372
}

Semantic roles & 50–950 ramp

primary
#BAA2FD
secondary
#EEF7D4
accent
#E600A9
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141218
muted
#828186

Preview Lab

Preview with #BAA2FD

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

Preview Lab → · Contrast checker → · Palette generator →

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