#BA6BBF#BA6BBF

#BA6BBF is a light, vivid purple. Relative luminance 0.247; OKLCH L 64.6% C 0.148 H 324.9°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#BA6BBF
RGBrgb(186, 107, 191)
HSLhsl(296, 40%, 58%)
HSVhsv(296, 44%, 75%)
CMYKcmyk(2.6%, 44%, 0%, 25.1%)
CIE-LABlab(56.80, 44.29, -31.03)
CIE-LCHlch(56.80, 54.07, 324.99°)
OKLaboklab(64.57% 0.1212 -0.0851)
OKLCHoklch(64.57% 0.148 324.9)
XYZxyz(34.9105, 24.7177, 52.2122)
Luminance0.2472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6BBF #70BF6B
analogous
#906BBF #BA6BBF #BF6B9A
triadic
#BA6BBF #BFBA6B #6BBFBA
tetradic
#BA6BBF #BF906B #70BF6B #6B9ABF
square
#BA6BBF #BF906B #70BF6B #6B9ABF
split-complementary
#BA6BBF #9ABF6B #6BBF90
monochromatic
#76357B #A047A5 #BA6BBF #CE96D1 #E2C0E4

Accessibility & contrast

On white

3.53
#BA6BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#BA6BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6BBF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6BBF#FFFFFF#000000##000000
##BA6BBF1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6282C2
Deuteranopia (green-blind)
#788CBC
Tritanopia (blue-blind)
#BE748C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba6bbf;
/* rgb */ color: rgb(186, 107, 191);
/* oklch */ color: oklch(64.6% 0.148 324.9);
Tailwind
colors: {
  custom: {
    50: '#d097d2',
    500: '#ba6bbf',
    950: '#000000',
  },
}
SCSS
$custom: #ba6bbf;
$custom-light: #d097d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6bbf",
  "rgb": {
    "r": 186,
    "g": 107,
    "b": 191
  },
  "hsl": {
    "h": 296.429,
    "s": 39.623,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64569,
    "c": 0.14811,
    "h": 324.9
  },
  "luminance": 0.24716
}

Semantic roles & 50–950 ramp

primary
#BA6BBF
secondary
#B4D4B2
accent
#D0585F
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E14
muted
#837E82

Preview Lab

Preview with #BA6BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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