#BA6BB3#BA6BB3

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

Color values

HEX#BA6BB3
RGBrgb(186, 107, 179)
HSLhsl(305, 36%, 57%)
HSVhsv(305, 42%, 73%)
CMYKcmyk(0%, 42.5%, 3.8%, 27.1%)
CIE-LABlab(56.30, 42.06, -24.92)
CIE-LCHlch(56.30, 48.89, 329.36°)
OKLaboklab(64.03% 0.1187 -0.0677)
OKLCHoklch(64.03% 0.137 330.3)
XYZxyz(33.6437, 24.2109, 45.5401)
Luminance0.2421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6BB3 #6BBA72
analogous
#996BBA #BA6BB3 #BA6B8C
triadic
#BA6BB3 #B3BA6B #6BB3BA
tetradic
#BA6BB3 #BA996B #6BBA72 #6B8CBA
square
#BA6BB3 #BA996B #6BBA72 #6B8CBA
split-complementary
#BA6BB3 #8CBA6B #6BBA99
monochromatic
#74366F #9E4A97 #BA6BB3 #CD95C8 #E1BEDE

Accessibility & contrast

On white

3.59
#BA6BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#BA6BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6BB3
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6BB3#FFFFFF#000000##000000
##BA6BB31.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6880B6
Deuteranopia (green-blind)
#7D8BB1
Tritanopia (blue-blind)
#C07187
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba6bb3;
/* rgb */ color: rgb(186, 107, 179);
/* oklch */ color: oklch(64.0% 0.137 330.3);
Tailwind
colors: {
  custom: {
    50: '#d097ca',
    500: '#ba6bb3',
    950: '#000000',
  },
}
SCSS
$custom: #ba6bb3;
$custom-light: #d097ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6bb3",
  "rgb": {
    "r": 186,
    "g": 107,
    "b": 179
  },
  "hsl": {
    "h": 305.316,
    "s": 36.406,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6403,
    "c": 0.13665,
    "h": 330.3
  },
  "luminance": 0.24209
}

Semantic roles & 50–950 ramp

primary
#BA6BB3
secondary
#B0D0B3
accent
#CC655B
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#140E13
muted
#827E82

Preview Lab

Preview with #BA6BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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