#BA67CC#BA67CC

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

Color values

HEX#BA67CC
RGBrgb(186, 103, 204)
HSLhsl(289, 50%, 60%)
HSVhsv(289, 50%, 80%)
CMYKcmyk(8.8%, 49.5%, 0%, 20%)
CIE-LABlab(56.59, 48.89, -38.77)
CIE-LCHlch(56.59, 62.40, 321.58°)
OKLaboklab(64.6% 0.1291 -0.1073)
OKLCHoklch(64.6% 0.168 320.3)
XYZxyz(35.9977, 24.5007, 59.9479)
Luminance0.2450 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67CC #79CC67
analogous
#8767CC #BA67CC #CC67AB
triadic
#BA67CC #CCBA67 #67CCBA
tetradic
#BA67CC #CC8767 #79CC67 #67ABCC
square
#BA67CC #CC8767 #79CC67 #67ABCC
split-complementary
#BA67CC #ABCC67 #67CC87
monochromatic
#7A2E8A #A23EB8 #BA67CC #CF95DB #E4C3EB

Accessibility & contrast

On white

3.56
#BA67CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#BA67CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67CC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67CC#FFFFFF#000000##000000
##BA67CC1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682CF
Deuteranopia (green-blind)
#6F8BC9
Tritanopia (blue-blind)
#BB7590
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba67cc;
/* rgb */ color: rgb(186, 103, 204);
/* oklch */ color: oklch(64.6% 0.168 320.3);
Tailwind
colors: {
  custom: {
    50: '#d195dc',
    500: '#ba67cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba67cc;
$custom-light: #d195dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67cc",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 204
  },
  "hsl": {
    "h": 289.307,
    "s": 49.754,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64602,
    "c": 0.16784,
    "h": 320.3
  },
  "luminance": 0.24499
}

Semantic roles & 50–950 ramp

primary
#BA67CC
secondary
#BBDBB4
accent
#BD2843
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA67CC

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

Preview Lab → · Contrast checker → · Palette generator →

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