#BA67E4#BA67E4

#BA67E4 is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.9% C 0.193 H 313.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#BA67E4
RGBrgb(186, 103, 228)
HSLhsl(280, 70%, 65%)
HSVhsv(280, 55%, 89%)
CMYKcmyk(18.4%, 54.8%, 0%, 10.6%)
CIE-LABlab(57.79, 53.80, -50.41)
CIE-LCHlch(57.79, 73.73, 316.86°)
OKLaboklab(65.88% 0.1314 -0.1411)
OKLCHoklch(65.88% 0.193 313)
XYZxyz(39.1011, 25.7420, 76.2927)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67E4 #91E467
analogous
#7C67E4 #BA67E4 #E467CF
triadic
#BA67E4 #E4BA67 #67E4BA
tetradic
#BA67E4 #E47C67 #91E467 #67CFE4
square
#BA67E4 #E47C67 #91E467 #67CFE4
split-complementary
#BA67E4 #CFE467 #67E47C
monochromatic
#801FB1 #A233DB #BA67E4 #D29BED #E9CFF6

Accessibility & contrast

On white

3.42
#BA67E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#BA67E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67E4
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67E4#FFFFFF#000000##000000
##BA67E41.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4486E8
Deuteranopia (green-blind)
#618DE1
Tritanopia (blue-blind)
#B67C9C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba67e4;
/* rgb */ color: rgb(186, 103, 228);
/* oklch */ color: oklch(65.9% 0.193 313.0);
Tailwind
colors: {
  custom: {
    50: '#d196ed',
    500: '#ba67e4',
    950: '#000000',
  },
}
SCSS
$custom: #ba67e4;
$custom-light: #d196ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67e4",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 228
  },
  "hsl": {
    "h": 279.84,
    "s": 69.832,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65884,
    "c": 0.19279,
    "h": 313
  },
  "luminance": 0.25741
}

Semantic roles & 50–950 ramp

primary
#BA67E4
secondary
#CCE9BE
accent
#D21454
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA67E4

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

Preview Lab → · Contrast checker → · Palette generator →

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