#BA67C9#BA67C9

#BA67C9 is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.5% C 0.165 H 321.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#BA67C9
RGBrgb(186, 103, 201)
HSLhsl(291, 48%, 60%)
HSVhsv(291, 49%, 79%)
CMYKcmyk(7.5%, 48.8%, 0%, 21.2%)
CIE-LABlab(56.44, 48.30, -37.29)
CIE-LCHlch(56.44, 61.02, 322.33°)
OKLaboklab(64.45% 0.1287 -0.103)
OKLCHoklch(64.45% 0.165 321.3)
XYZxyz(35.6414, 24.3581, 58.0712)
Luminance0.2436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67C9 #76C967
analogous
#8967C9 #BA67C9 #C967A7
triadic
#BA67C9 #C9BA67 #67C9BA
tetradic
#BA67C9 #C98967 #76C967 #67A7C9
square
#BA67C9 #C98967 #76C967 #67A7C9
split-complementary
#BA67C9 #A7C967 #67C989
monochromatic
#793086 #A140B3 #BA67C9 #CE94D9 #E3C1E9

Accessibility & contrast

On white

3.58
#BA67C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#BA67C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67C9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67C9#FFFFFF#000000##000000
##BA67C91.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CC
Deuteranopia (green-blind)
#718BC6
Tritanopia (blue-blind)
#BC748F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba67c9;
/* rgb */ color: rgb(186, 103, 201);
/* oklch */ color: oklch(64.5% 0.165 321.3);
Tailwind
colors: {
  custom: {
    50: '#d195da',
    500: '#ba67c9',
    950: '#000000',
  },
}
SCSS
$custom: #ba67c9;
$custom-light: #d195da;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67c9",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 201
  },
  "hsl": {
    "h": 290.816,
    "s": 47.573,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64452,
    "c": 0.16482,
    "h": 321.3
  },
  "luminance": 0.24357
}

Semantic roles & 50–950 ramp

primary
#BA67C9
secondary
#B9D9B3
accent
#D75165
background
#FDF9FD
surface
#FAF2FA
border
#D3CCD3
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA67C9

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

Preview Lab → · Contrast checker → · Palette generator →

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