#BA6BBB#BA6BBB

#BA6BBB is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.4% C 0.144 H 326.6°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#BA6BBB
RGBrgb(186, 107, 187)
HSLhsl(299, 37%, 58%)
HSVhsv(299, 43%, 73%)
CMYKcmyk(0.5%, 42.8%, 0%, 26.7%)
CIE-LABlab(56.63, 43.53, -29.00)
CIE-LCHlch(56.63, 52.31, 326.33°)
OKLaboklab(64.39% 0.1205 -0.0793)
OKLCHoklch(64.39% 0.144 326.6)
XYZxyz(34.4763, 24.5440, 49.9255)
Luminance0.2454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6BBB #6CBB6B
analogous
#926BBB #BA6BBB #BB6B94
triadic
#BA6BBB #BBBA6B #6BBBBA
tetradic
#BA6BBB #BB926B #6CBB6B #6B94BB
square
#BA6BBB #BB926B #6CBB6B #6B94BB
split-complementary
#BA6BBB #94BB6B #6BBB92
monochromatic
#753676 #9E49A0 #BA6BBB #CE95CE #E1BFE2

Accessibility & contrast

On white

3.55
#BA6BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#BA6BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6BBB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6BBB#FFFFFF#000000##000000
##BA6BBB1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6481BE
Deuteranopia (green-blind)
#7A8BB8
Tritanopia (blue-blind)
#BE738A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba6bbb;
/* rgb */ color: rgb(186, 107, 187);
/* oklch */ color: oklch(64.4% 0.144 326.6);
Tailwind
colors: {
  custom: {
    50: '#d097cf',
    500: '#ba6bbb',
    950: '#000000',
  },
}
SCSS
$custom: #ba6bbb;
$custom-light: #d097cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6bbb",
  "rgb": {
    "r": 186,
    "g": 107,
    "b": 187
  },
  "hsl": {
    "h": 299.25,
    "s": 37.037,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64385,
    "c": 0.14421,
    "h": 326.6
  },
  "luminance": 0.24542
}

Semantic roles & 50–950 ramp

primary
#BA6BBB
secondary
#B1D1B1
accent
#CD5B5C
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E14
muted
#837E82

Preview Lab

Preview with #BA6BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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