#BA67C7#BA67C7

#BA67C7 is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.4% C 0.163 H 322.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#BA67C7
RGBrgb(186, 103, 199)
HSLhsl(292, 46%, 59%)
HSVhsv(292, 48%, 78%)
CMYKcmyk(6.5%, 48.2%, 0%, 22%)
CIE-LABlab(56.35, 47.91, -36.29)
CIE-LCHlch(56.35, 60.10, 322.85°)
OKLaboklab(64.35% 0.1284 -0.1001)
OKLCHoklch(64.35% 0.163 322)
XYZxyz(35.4076, 24.2646, 56.8402)
Luminance0.2426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67C7 #74C767
analogous
#8A67C7 #BA67C7 #C767A4
triadic
#BA67C7 #C7BA67 #67C7BA
tetradic
#BA67C7 #C78A67 #74C767 #67A4C7
square
#BA67C7 #C78A67 #74C767 #67A4C7
split-complementary
#BA67C7 #A4C767 #67C78A
monochromatic
#783083 #A141B0 #BA67C7 #CE94D7 #E3C0E8

Accessibility & contrast

On white

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

On black

5.85
#BA67C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67C7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67C7#FFFFFF#000000##000000
##BA67C71.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5981CA
Deuteranopia (green-blind)
#728AC4
Tritanopia (blue-blind)
#BC738E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba67c7;
/* rgb */ color: rgb(186, 103, 199);
/* oklch */ color: oklch(64.4% 0.163 322.0);
Tailwind
colors: {
  custom: {
    50: '#d195d8',
    500: '#ba67c7',
    950: '#000000',
  },
}
SCSS
$custom: #ba67c7;
$custom-light: #d195d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67c7",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 199
  },
  "hsl": {
    "h": 291.875,
    "s": 46.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64353,
    "c": 0.1628,
    "h": 322
  },
  "luminance": 0.24263
}

Semantic roles & 50–950 ramp

primary
#BA67C7
secondary
#B7D8B2
accent
#D65264
background
#FDF9FD
surface
#FAF2FA
border
#D3CCD3
text
#140D14
muted
#837E83

Preview Lab

Preview with #BA67C7

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

Preview Lab → · Contrast checker → · Palette generator →

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