#BAA2DF#BAA2DF

#BAA2DF is a light, moderate violet. Relative luminance 0.416; OKLCH L 75.5% C 0.090 H 302.3°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#BAA2DF
RGBrgb(186, 162, 223)
HSLhsl(264, 49%, 75%)
HSVhsv(264, 27%, 87%)
CMYKcmyk(16.6%, 27.4%, 0%, 12.5%)
CIE-LABlab(70.60, 20.67, -27.62)
CIE-LCHlch(70.60, 34.50, 306.81°)
OKLaboklab(75.46% 0.0479 -0.0757)
OKLCHoklch(75.46% 0.09 302.3)
XYZxyz(46.4866, 41.6075, 75.3798)
Luminance0.4161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA2DF #C7DFA2
analogous
#A2A8DF #BAA2DF #D9A2DF
triadic
#BAA2DF #DFBAA2 #A2DFBA
tetradic
#BAA2DF #DFA2A8 #C7DFA2 #A2DFD9
square
#BAA2DF #DFA2A8 #C7DFA2 #A2DFD9
split-complementary
#BAA2DF #DFD9A2 #A8DFA2
monochromatic
#7647C0 #9874CF #BAA2DF #DCD0EF #EEE8F7

Accessibility & contrast

On white

2.25
#BAA2DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#BAA2DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA2DF
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA2DF#FFFFFF#000000##000000
##BAA2DF1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ACE2
Deuteranopia (green-blind)
#9AADDD
Tritanopia (blue-blind)
#B4ABB7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #baa2df;
/* rgb */ color: rgb(186, 162, 223);
/* oklch */ color: oklch(75.5% 0.090 302.3);
Tailwind
colors: {
  custom: {
    50: '#cfbde9',
    500: '#baa2df',
    950: '#000000',
  },
}
SCSS
$custom: #baa2df;
$custom-light: #cfbde9;
$custom-dark: #000000;
JSON
{
  "hex": "#baa2df",
  "rgb": {
    "r": 186,
    "g": 162,
    "b": 223
  },
  "hsl": {
    "h": 263.607,
    "s": 48.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75456,
    "c": 0.08963,
    "h": 302.3
  },
  "luminance": 0.41607
}

Semantic roles & 50–950 ramp

primary
#BAA2DF
secondary
#E7EEDD
accent
#BC2982
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #BAA2DF

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

Preview Lab → · Contrast checker → · Palette generator →

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