#BA67DB#BA67DB

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

Color values

HEX#BA67DB
RGBrgb(186, 103, 219)
HSLhsl(283, 62%, 63%)
HSVhsv(283, 53%, 86%)
CMYKcmyk(15.1%, 53%, 0%, 14.1%)
CIE-LABlab(57.32, 51.92, -46.10)
CIE-LCHlch(57.32, 69.43, 318.40°)
OKLaboklab(65.39% 0.1307 -0.1285)
OKLCHoklch(65.39% 0.183 315.5)
XYZxyz(37.8841, 25.2552, 69.8832)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67DB #88DB67
analogous
#8067DB #BA67DB #DB67C2
triadic
#BA67DB #DBBA67 #67DBBA
tetradic
#BA67DB #DB8067 #88DB67 #67C2DB
square
#BA67DB #DB8067 #88DB67 #67C2DB
split-complementary
#BA67DB #C2DB67 #67DB80
monochromatic
#7E26A1 #A436CF #BA67DB #D098E7 #E7CAF2

Accessibility & contrast

On white

3.47
#BA67DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#BA67DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67DB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67DB#FFFFFF#000000##000000
##BA67DB1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C85DF
Deuteranopia (green-blind)
#678CD8
Tritanopia (blue-blind)
#B87997
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba67db;
/* rgb */ color: rgb(186, 103, 219);
/* oklch */ color: oklch(65.4% 0.183 315.5);
Tailwind
colors: {
  custom: {
    50: '#d195e6',
    500: '#ba67db',
    950: '#000000',
  },
}
SCSS
$custom: #ba67db;
$custom-light: #d195e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67db",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 219
  },
  "hsl": {
    "h": 282.931,
    "s": 61.702,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65387,
    "c": 0.18332,
    "h": 315.5
  },
  "luminance": 0.25254
}

Semantic roles & 50–950 ramp

primary
#BA67DB
secondary
#C6E4BA
accent
#C91C4D
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA67DB

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

Preview Lab → · Contrast checker → · Palette generator →

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