#BA6FBC#BA6FBC

#BA6FBC is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.1% C 0.138 H 326.1°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#BA6FBC
RGBrgb(186, 111, 188)
HSLhsl(298, 36%, 59%)
HSVhsv(298, 41%, 74%)
CMYKcmyk(1.1%, 41%, 0%, 26.3%)
CIE-LABlab(57.50, 41.60, -28.22)
CIE-LCHlch(57.50, 50.27, 325.85°)
OKLaboklab(65.05% 0.1147 -0.0771)
OKLCHoklch(65.05% 0.138 326.1)
XYZxyz(35.0105, 25.4404, 50.6335)
Luminance0.2544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6FBC #71BC6F
analogous
#936FBC #BA6FBC #BC6F97
triadic
#BA6FBC #BCBA6F #6FBCBA
tetradic
#BA6FBC #BC936F #71BC6F #6F97BC
square
#BA6FBC #BC936F #71BC6F #6F97BC
split-complementary
#BA6FBC #97BC6F #6FBC93
monochromatic
#773879 #A04CA2 #BA6FBC #CE99CF #E2C3E3

Accessibility & contrast

On white

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

On black

6.09
#BA6FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6FBC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6FBC#FFFFFF#000000##000000
##BA6FBC1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6884BF
Deuteranopia (green-blind)
#7C8DBA
Tritanopia (blue-blind)
#BE778D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba6fbc;
/* rgb */ color: rgb(186, 111, 188);
/* oklch */ color: oklch(65.1% 0.138 326.1);
Tailwind
colors: {
  custom: {
    50: '#d09ad0',
    500: '#ba6fbc',
    950: '#000000',
  },
}
SCSS
$custom: #ba6fbc;
$custom-light: #d09ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6fbc",
  "rgb": {
    "r": 186,
    "g": 111,
    "b": 188
  },
  "hsl": {
    "h": 298.442,
    "s": 36.493,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65052,
    "c": 0.13823,
    "h": 326.1
  },
  "luminance": 0.25439
}

Semantic roles & 50–950 ramp

primary
#BA6FBC
secondary
#B5D3B4
accent
#CC5B5E
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140E14
muted
#827E82

Preview Lab

Preview with #BA6FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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