#BA6BB2#BA6BB2

#BA6BB2 is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.0% C 0.136 H 330.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#BA6BB2
RGBrgb(186, 107, 178)
HSLhsl(306, 36%, 57%)
HSVhsv(306, 42%, 73%)
CMYKcmyk(0%, 42.5%, 4.3%, 27.1%)
CIE-LABlab(56.26, 41.88, -24.40)
CIE-LCHlch(56.26, 48.47, 329.77°)
OKLaboklab(63.99% 0.1185 -0.0662)
OKLCHoklch(63.99% 0.136 330.8)
XYZxyz(33.5429, 24.1706, 45.0094)
Luminance0.2417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6BB2 #6BBA73
analogous
#9B6BBA #BA6BB2 #BA6B8A
triadic
#BA6BB2 #B2BA6B #6BB2BA
tetradic
#BA6BB2 #BA9B6B #6BBA73 #6B8ABA
square
#BA6BB2 #BA9B6B #6BBA73 #6B8ABA
split-complementary
#BA6BB2 #8ABA6B #6BBA9B
monochromatic
#74366E #9E4A96 #BA6BB2 #CD95C8 #E1BEDD

Accessibility & contrast

On white

3.60
#BA6BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#BA6BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6BB2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6BB2#FFFFFF#000000##000000
##BA6BB21.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6880B5
Deuteranopia (green-blind)
#7D8BB0
Tritanopia (blue-blind)
#C07186
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba6bb2;
/* rgb */ color: rgb(186, 107, 178);
/* oklch */ color: oklch(64.0% 0.136 330.8);
Tailwind
colors: {
  custom: {
    50: '#d097c9',
    500: '#ba6bb2',
    950: '#000000',
  },
}
SCSS
$custom: #ba6bb2;
$custom-light: #d097c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6bb2",
  "rgb": {
    "r": 186,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 306.076,
    "s": 36.406,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63986,
    "c": 0.13572,
    "h": 330.8
  },
  "luminance": 0.24169
}

Semantic roles & 50–950 ramp

primary
#BA6BB2
secondary
#B0D0B4
accent
#CC675B
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#140E13
muted
#827E82

Preview Lab

Preview with #BA6BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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