#BA67C8#BA67C8

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

Color values

HEX#BA67C8
RGBrgb(186, 103, 200)
HSLhsl(291, 47%, 59%)
HSVhsv(291, 49%, 78%)
CMYKcmyk(7%, 48.5%, 0%, 21.6%)
CIE-LABlab(56.40, 48.10, -36.79)
CIE-LCHlch(56.40, 60.56, 322.59°)
OKLaboklab(64.4% 0.1285 -0.1016)
OKLCHoklch(64.4% 0.164 321.7)
XYZxyz(35.5241, 24.3112, 57.4537)
Luminance0.2431 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67C8 #75C867
analogous
#8A67C8 #BA67C8 #C867A6
triadic
#BA67C8 #C8BA67 #67C8BA
tetradic
#BA67C8 #C88A67 #75C867 #67A6C8
square
#BA67C8 #C88A67 #75C867 #67A6C8
split-complementary
#BA67C8 #A6C867 #67C88A
monochromatic
#783085 #A140B2 #BA67C8 #CE94D8 #E3C1E9

Accessibility & contrast

On white

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

On black

5.86
#BA67C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67C8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67C8#FFFFFF#000000##000000
##BA67C81.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5981CB
Deuteranopia (green-blind)
#718AC5
Tritanopia (blue-blind)
#BC738E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba67c8;
/* rgb */ color: rgb(186, 103, 200);
/* oklch */ color: oklch(64.4% 0.164 321.7);
Tailwind
colors: {
  custom: {
    50: '#d195d9',
    500: '#ba67c8',
    950: '#000000',
  },
}
SCSS
$custom: #ba67c8;
$custom-light: #d195d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67c8",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 200
  },
  "hsl": {
    "h": 291.34,
    "s": 46.86,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64402,
    "c": 0.16381,
    "h": 321.7
  },
  "luminance": 0.2431
}

Semantic roles & 50–950 ramp

primary
#BA67C8
secondary
#B8D8B3
accent
#D65165
background
#FDF9FD
surface
#FAF2FA
border
#D3CCD3
text
#140D14
muted
#837E83

Preview Lab

Preview with #BA67C8

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

Preview Lab → · Contrast checker → · Palette generator →

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