#BA67BF#BA67BF

#BA67BF is a light, vivid purple. Relative luminance 0.239; OKLCH L 64.0% C 0.155 H 325.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#BA67BF
RGBrgb(186, 103, 191)
HSLhsl(297, 41%, 58%)
HSVhsv(297, 46%, 75%)
CMYKcmyk(2.6%, 46.1%, 0%, 25.1%)
CIE-LABlab(55.99, 46.38, -32.29)
CIE-LCHlch(55.99, 56.51, 325.15°)
OKLaboklab(63.97% 0.127 -0.0886)
OKLCHoklch(63.97% 0.155 325.1)
XYZxyz(34.5031, 23.9028, 52.0764)
Luminance0.2390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67BF #6CBF67
analogous
#8E67BF #BA67BF #BF6798
triadic
#BA67BF #BFBA67 #67BFBA
tetradic
#BA67BF #BF8E67 #6CBF67 #6798BF
square
#BA67BF #BF8E67 #6CBF67 #6798BF
split-complementary
#BA67BF #98BF67 #67BF8E
monochromatic
#753379 #9E45A4 #BA67BF #CE92D1 #E1BDE3

Accessibility & contrast

On white

3.63
#BA67BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#BA67BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67BF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67BF#FFFFFF#000000##000000
##BA67BF1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E80C2
Deuteranopia (green-blind)
#758ABC
Tritanopia (blue-blind)
#BE718A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba67bf;
/* rgb */ color: rgb(186, 103, 191);
/* oklch */ color: oklch(64.0% 0.155 325.1);
Tailwind
colors: {
  custom: {
    50: '#d095d2',
    500: '#ba67bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba67bf;
$custom-light: #d095d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67bf",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 191
  },
  "hsl": {
    "h": 296.591,
    "s": 40.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63966,
    "c": 0.15491,
    "h": 325.1
  },
  "luminance": 0.23901
}

Semantic roles & 50–950 ramp

primary
#BA67BF
secondary
#B1D3AF
accent
#D1575E
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA67BF

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

Preview Lab → · Contrast checker → · Palette generator →

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