#BA6FBB#BA6FBB

#BA6FBB is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.0% C 0.137 H 326.5°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#BA6FBB
RGBrgb(186, 111, 187)
HSLhsl(299, 36%, 58%)
HSVhsv(299, 41%, 73%)
CMYKcmyk(0.5%, 40.6%, 0%, 26.7%)
CIE-LABlab(57.46, 41.41, -27.71)
CIE-LCHlch(57.46, 49.83, 326.21°)
OKLaboklab(65.01% 0.1145 -0.0757)
OKLCHoklch(65.01% 0.137 326.5)
XYZxyz(34.9031, 25.3974, 50.0678)
Luminance0.2540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6FBB #70BB6F
analogous
#946FBB #BA6FBB #BB6F96
triadic
#BA6FBB #BBBA6F #6FBBBA
tetradic
#BA6FBB #BB946F #70BB6F #6F96BB
square
#BA6FBB #BB946F #70BB6F #6F96BB
split-complementary
#BA6FBB #96BB6F #6FBB94
monochromatic
#763877 #A04CA1 #BA6FBB #CE99CF #E2C2E2

Accessibility & contrast

On white

3.45
#BA6FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#BA6FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6FBB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6FBB#FFFFFF#000000##000000
##BA6FBB1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BE
Deuteranopia (green-blind)
#7D8DB9
Tritanopia (blue-blind)
#BE768C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba6fbb;
/* rgb */ color: rgb(186, 111, 187);
/* oklch */ color: oklch(65.0% 0.137 326.5);
Tailwind
colors: {
  custom: {
    50: '#d09acf',
    500: '#ba6fbb',
    950: '#000000',
  },
}
SCSS
$custom: #ba6fbb;
$custom-light: #d09acf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6fbb",
  "rgb": {
    "r": 186,
    "g": 111,
    "b": 187
  },
  "hsl": {
    "h": 299.211,
    "s": 35.849,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65008,
    "c": 0.13725,
    "h": 326.5
  },
  "luminance": 0.25396
}

Semantic roles & 50–950 ramp

primary
#BA6FBB
secondary
#B4D2B4
accent
#CC5C5D
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140E14
muted
#827E82

Preview Lab

Preview with #BA6FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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