#BA67DF#BA67DF

#BA67DF is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.6% C 0.188 H 314.3°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#BA67DF
RGBrgb(186, 103, 223)
HSLhsl(282, 65%, 64%)
HSVhsv(282, 54%, 87%)
CMYKcmyk(16.6%, 53.8%, 0%, 12.5%)
CIE-LABlab(57.53, 52.75, -48.02)
CIE-LCHlch(57.53, 71.34, 317.69°)
OKLaboklab(65.61% 0.1311 -0.1341)
OKLCHoklch(65.61% 0.188 314.3)
XYZxyz(38.4171, 25.4684, 72.6899)
Luminance0.2547 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67DF #8CDF67
analogous
#7E67DF #BA67DF #DF67C8
triadic
#BA67DF #DFBA67 #67DFBA
tetradic
#BA67DF #DF7E67 #8CDF67 #67C8DF
square
#BA67DF #DF7E67 #8CDF67 #67C8DF
split-complementary
#BA67DF #C8DF67 #67DF7E
monochromatic
#7F23A8 #A334D4 #BA67DF #D19AEA #E8CCF4

Accessibility & contrast

On white

3.45
#BA67DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#BA67DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67DF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67DF#FFFFFF#000000##000000
##BA67DF1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4985E3
Deuteranopia (green-blind)
#658CDC
Tritanopia (blue-blind)
#B77B99
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba67df;
/* rgb */ color: rgb(186, 103, 223);
/* oklch */ color: oklch(65.6% 0.188 314.3);
Tailwind
colors: {
  custom: {
    50: '#d195e9',
    500: '#ba67df',
    950: '#000000',
  },
}
SCSS
$custom: #ba67df;
$custom-light: #d195e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67df",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 223
  },
  "hsl": {
    "h": 281.5,
    "s": 65.217,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65606,
    "c": 0.18752,
    "h": 314.3
  },
  "luminance": 0.25467
}

Semantic roles & 50–950 ramp

primary
#BA67DF
secondary
#C9E6BC
accent
#CD1850
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA67DF

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

Preview Lab → · Contrast checker → · Palette generator →

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