#BA67E5#BA67E5

#BA67E5 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.9% C 0.194 H 312.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#BA67E5
RGBrgb(186, 103, 229)
HSLhsl(280, 71%, 65%)
HSVhsv(280, 55%, 90%)
CMYKcmyk(18.8%, 55%, 0%, 10.2%)
CIE-LABlab(57.84, 54.01, -50.89)
CIE-LCHlch(57.84, 74.21, 316.71°)
OKLaboklab(65.94% 0.1314 -0.1425)
OKLCHoklch(65.94% 0.194 312.7)
XYZxyz(39.2404, 25.7977, 77.0259)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67E5 #92E567
analogous
#7B67E5 #BA67E5 #E567D1
triadic
#BA67E5 #E5BA67 #67E5BA
tetradic
#BA67E5 #E57B67 #92E567 #67D1E5
square
#BA67E5 #E57B67 #92E567 #67D1E5
split-complementary
#BA67E5 #D1E567 #67E57B
monochromatic
#801FB3 #A233DC #BA67E5 #D29BEE #E9D0F7

Accessibility & contrast

On white

3.41
#BA67E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#BA67E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67E5
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67E5#FFFFFF#000000##000000
##BA67E51.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4487E9
Deuteranopia (green-blind)
#618DE2
Tritanopia (blue-blind)
#B67D9C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba67e5;
/* rgb */ color: rgb(186, 103, 229);
/* oklch */ color: oklch(65.9% 0.194 312.7);
Tailwind
colors: {
  custom: {
    50: '#d196ee',
    500: '#ba67e5',
    950: '#000000',
  },
}
SCSS
$custom: #ba67e5;
$custom-light: #d196ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67e5",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 229
  },
  "hsl": {
    "h": 279.524,
    "s": 70.787,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6594,
    "c": 0.19383,
    "h": 312.7
  },
  "luminance": 0.25797
}

Semantic roles & 50–950 ramp

primary
#BA67E5
secondary
#CDE9BF
accent
#D31354
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA67E5

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

Preview Lab → · Contrast checker → · Palette generator →

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