#BA67DD#BA67DD

#BA67DD is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.5% C 0.185 H 314.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#BA67DD
RGBrgb(186, 103, 221)
HSLhsl(282, 63%, 64%)
HSVhsv(282, 53%, 87%)
CMYKcmyk(15.8%, 53.4%, 0%, 13.3%)
CIE-LABlab(57.43, 52.33, -47.06)
CIE-LCHlch(57.43, 70.38, 318.04°)
OKLaboklab(65.5% 0.1309 -0.1313)
OKLCHoklch(65.5% 0.185 314.9)
XYZxyz(38.1490, 25.3612, 71.2782)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67DD #8ADD67
analogous
#7F67DD #BA67DD #DD67C5
triadic
#BA67DD #DDBA67 #67DDBA
tetradic
#BA67DD #DD7F67 #8ADD67 #67C5DD
square
#BA67DD #DD7F67 #8ADD67 #67C5DD
split-complementary
#BA67DD #C5DD67 #67DD7F
monochromatic
#7F25A5 #A335D2 #BA67DD #D199E8 #E7CBF3

Accessibility & contrast

On white

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

On black

6.07
#BA67DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67DD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67DD#FFFFFF#000000##000000
##BA67DD1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba67dd;
/* rgb */ color: rgb(186, 103, 221);
/* oklch */ color: oklch(65.5% 0.185 314.9);
Tailwind
colors: {
  custom: {
    50: '#d195e8',
    500: '#ba67dd',
    950: '#000000',
  },
}
SCSS
$custom: #ba67dd;
$custom-light: #d195e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67dd",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 221
  },
  "hsl": {
    "h": 282.203,
    "s": 63.441,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65496,
    "c": 0.18542,
    "h": 314.9
  },
  "luminance": 0.2536
}

Semantic roles & 50–950 ramp

primary
#BA67DD
secondary
#C7E5BB
accent
#CB1A4F
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA67DD

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

Preview Lab → · Contrast checker → · Palette generator →

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