#BA6BBC#BA6BBC

#BA6BBC is a light, vivid purple. Relative luminance 0.246; OKLCH L 64.4% C 0.145 H 326.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#BA6BBC
RGBrgb(186, 107, 188)
HSLhsl(299, 38%, 58%)
HSVhsv(299, 43%, 74%)
CMYKcmyk(1.1%, 43.1%, 0%, 26.3%)
CIE-LABlab(56.67, 43.72, -29.51)
CIE-LCHlch(56.67, 52.75, 325.98°)
OKLaboklab(64.43% 0.1207 -0.0807)
OKLCHoklch(64.43% 0.145 326.2)
XYZxyz(34.5838, 24.5870, 50.4913)
Luminance0.2459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6BBC #6DBC6B
analogous
#926BBC #BA6BBC #BC6B95
triadic
#BA6BBC #BCBA6B #6BBCBA
tetradic
#BA6BBC #BC926B #6DBC6B #6B95BC
square
#BA6BBC #BC926B #6DBC6B #6B95BC
split-complementary
#BA6BBC #95BC6B #6BBC92
monochromatic
#753677 #9F49A1 #BA6BBC #CE95CF #E1BFE2

Accessibility & contrast

On white

3.55
#BA6BBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#BA6BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6BBC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6BBC#FFFFFF#000000##000000
##BA6BBC1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6482BF
Deuteranopia (green-blind)
#798CB9
Tritanopia (blue-blind)
#BE738B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba6bbc;
/* rgb */ color: rgb(186, 107, 188);
/* oklch */ color: oklch(64.4% 0.145 326.2);
Tailwind
colors: {
  custom: {
    50: '#d097d0',
    500: '#ba6bbc',
    950: '#000000',
  },
}
SCSS
$custom: #ba6bbc;
$custom-light: #d097d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6bbc",
  "rgb": {
    "r": 186,
    "g": 107,
    "b": 188
  },
  "hsl": {
    "h": 298.519,
    "s": 37.674,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6443,
    "c": 0.14517,
    "h": 326.2
  },
  "luminance": 0.24585
}

Semantic roles & 50–950 ramp

primary
#BA6BBC
secondary
#B2D2B1
accent
#CE5A5D
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E14
muted
#837E82

Preview Lab

Preview with #BA6BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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