#BA67DC#BA67DC

#BA67DC is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.4% C 0.184 H 315.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#BA67DC
RGBrgb(186, 103, 220)
HSLhsl(283, 63%, 63%)
HSVhsv(283, 53%, 86%)
CMYKcmyk(15.5%, 53.2%, 0%, 13.7%)
CIE-LABlab(57.37, 52.13, -46.58)
CIE-LCHlch(57.37, 69.91, 318.22°)
OKLaboklab(65.44% 0.1308 -0.1299)
OKLCHoklch(65.44% 0.184 315.2)
XYZxyz(38.0162, 25.3080, 70.5786)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67DC #89DC67
analogous
#7F67DC #BA67DC #DC67C3
triadic
#BA67DC #DCBA67 #67DCBA
tetradic
#BA67DC #DC7F67 #89DC67 #67C3DC
square
#BA67DC #DC7F67 #89DC67 #67C3DC
split-complementary
#BA67DC #C3DC67 #67DC7F
monochromatic
#7F26A3 #A335D1 #BA67DC #D199E7 #E7CAF3

Accessibility & contrast

On white

3.46
#BA67DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#BA67DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67DC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67DC#FFFFFF#000000##000000
##BA67DC1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B85E0
Deuteranopia (green-blind)
#668CD9
Tritanopia (blue-blind)
#B87A98
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba67dc;
/* rgb */ color: rgb(186, 103, 220);
/* oklch */ color: oklch(65.4% 0.184 315.2);
Tailwind
colors: {
  custom: {
    50: '#d195e7',
    500: '#ba67dc',
    950: '#000000',
  },
}
SCSS
$custom: #ba67dc;
$custom-light: #d195e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67dc",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 220
  },
  "hsl": {
    "h": 282.564,
    "s": 62.567,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65442,
    "c": 0.18437,
    "h": 315.2
  },
  "luminance": 0.25307
}

Semantic roles & 50–950 ramp

primary
#BA67DC
secondary
#C7E4BB
accent
#CA1B4E
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA67DC

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

Preview Lab → · Contrast checker → · Palette generator →

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