#BA67C5#BA67C5

#BA67C5 is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.3% C 0.161 H 322.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#BA67C5
RGBrgb(186, 103, 197)
HSLhsl(293, 45%, 59%)
HSVhsv(293, 48%, 77%)
CMYKcmyk(5.6%, 47.7%, 0%, 22.7%)
CIE-LABlab(56.26, 47.52, -35.30)
CIE-LCHlch(56.26, 59.19, 323.40°)
OKLaboklab(64.26% 0.1281 -0.0973)
OKLCHoklch(64.26% 0.161 322.8)
XYZxyz(35.1769, 24.1724, 55.6253)
Luminance0.2417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67C5 #72C567
analogous
#8B67C5 #BA67C5 #C567A1
triadic
#BA67C5 #C5BA67 #67C5BA
tetradic
#BA67C5 #C58B67 #72C567 #67A1C5
square
#BA67C5 #C58B67 #72C567 #67A1C5
split-complementary
#BA67C5 #A1C567 #67C58B
monochromatic
#773181 #A042AD #BA67C5 #CE93D6 #E2C0E7

Accessibility & contrast

On white

3.60
#BA67C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#BA67C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67C5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67C5#FFFFFF#000000##000000
##BA67C51.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A81C8
Deuteranopia (green-blind)
#728AC2
Tritanopia (blue-blind)
#BD738D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba67c5;
/* rgb */ color: rgb(186, 103, 197);
/* oklch */ color: oklch(64.3% 0.161 322.8);
Tailwind
colors: {
  custom: {
    50: '#d195d7',
    500: '#ba67c5',
    950: '#000000',
  },
}
SCSS
$custom: #ba67c5;
$custom-light: #d195d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67c5",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 197
  },
  "hsl": {
    "h": 292.979,
    "s": 44.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64255,
    "c": 0.16081,
    "h": 322.8
  },
  "luminance": 0.24171
}

Semantic roles & 50–950 ramp

primary
#BA67C5
secondary
#B6D6B1
accent
#D45362
background
#FDF9FD
surface
#FAF2FA
border
#D3CCD3
text
#140D14
muted
#837E83

Preview Lab

Preview with #BA67C5

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

Preview Lab → · Contrast checker → · Palette generator →

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