#BA67C2#BA67C2

#BA67C2 is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.1% C 0.158 H 323.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#BA67C2
RGBrgb(186, 103, 194)
HSLhsl(295, 43%, 58%)
HSVhsv(295, 47%, 76%)
CMYKcmyk(4.1%, 46.9%, 0%, 23.9%)
CIE-LABlab(56.12, 46.94, -33.79)
CIE-LCHlch(56.12, 57.84, 324.25°)
OKLaboklab(64.11% 0.1276 -0.093)
OKLCHoklch(64.11% 0.158 323.9)
XYZxyz(34.8366, 24.0362, 53.8329)
Luminance0.2404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67C2 #6FC267
analogous
#8C67C2 #BA67C2 #C2679C
triadic
#BA67C2 #C2BA67 #67C2BA
tetradic
#BA67C2 #C28C67 #6FC267 #679CC2
square
#BA67C2 #C28C67 #6FC267 #679CC2
split-complementary
#BA67C2 #9CC267 #67C28C
monochromatic
#76327D #9F44A8 #BA67C2 #CE93D4 #E2BEE5

Accessibility & contrast

On white

3.62
#BA67C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#BA67C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67C2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67C2#FFFFFF#000000##000000
##BA67C21.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C80C5
Deuteranopia (green-blind)
#748ABF
Tritanopia (blue-blind)
#BD728B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba67c2;
/* rgb */ color: rgb(186, 103, 194);
/* oklch */ color: oklch(64.1% 0.158 323.9);
Tailwind
colors: {
  custom: {
    50: '#d095d4',
    500: '#ba67c2',
    950: '#000000',
  },
}
SCSS
$custom: #ba67c2;
$custom-light: #d095d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67c2",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 194
  },
  "hsl": {
    "h": 294.725,
    "s": 42.723,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64109,
    "c": 0.15784,
    "h": 323.9
  },
  "luminance": 0.24035
}

Semantic roles & 50–950 ramp

primary
#BA67C2
secondary
#B3D5B0
accent
#D35560
background
#FDF9FD
surface
#FAF2FA
border
#D3CCD3
text
#140D14
muted
#837E83

Preview Lab

Preview with #BA67C2

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

Preview Lab → · Contrast checker → · Palette generator →

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