#BA67CB#BA67CB

#BA67CB is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.6% C 0.167 H 320.6°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#BA67CB
RGBrgb(186, 103, 203)
HSLhsl(290, 49%, 60%)
HSVhsv(290, 49%, 80%)
CMYKcmyk(8.4%, 49.3%, 0%, 20.4%)
CIE-LABlab(56.54, 48.69, -38.28)
CIE-LCHlch(56.54, 61.94, 321.83°)
OKLaboklab(64.55% 0.1289 -0.1059)
OKLCHoklch(64.55% 0.167 320.6)
XYZxyz(35.8782, 24.4528, 59.3183)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67CB #78CB67
analogous
#8867CB #BA67CB #CB67AA
triadic
#BA67CB #CBBA67 #67CBBA
tetradic
#BA67CB #CB8867 #78CB67 #67AACB
square
#BA67CB #CB8867 #78CB67 #67AACB
split-complementary
#BA67CB #AACB67 #67CB88
monochromatic
#7A2F89 #A23EB6 #BA67CB #CF95DB #E3C2EA

Accessibility & contrast

On white

3.57
#BA67CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#BA67CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67CB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67CB#FFFFFF#000000##000000
##BA67CB1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CE
Deuteranopia (green-blind)
#708BC8
Tritanopia (blue-blind)
#BB7490
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba67cb;
/* rgb */ color: rgb(186, 103, 203);
/* oklch */ color: oklch(64.6% 0.167 320.6);
Tailwind
colors: {
  custom: {
    50: '#d195db',
    500: '#ba67cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba67cb;
$custom-light: #d195db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67cb",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 203
  },
  "hsl": {
    "h": 289.8,
    "s": 49.02,
    "l": 60
  },
  "oklch": {
    "l": 0.64552,
    "c": 0.16684,
    "h": 320.6
  },
  "luminance": 0.24451
}

Semantic roles & 50–950 ramp

primary
#BA67CB
secondary
#BADAB4
accent
#D94F67
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA67CB

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

Preview Lab → · Contrast checker → · Palette generator →

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