#BA67E8#BA67E8

#BA67E8 is a light, vivid violet. Relative luminance 0.260; OKLCH L 66.1% C 0.197 H 311.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#BA67E8
RGBrgb(186, 103, 232)
HSLhsl(279, 74%, 66%)
HSVhsv(279, 56%, 91%)
CMYKcmyk(19.8%, 55.6%, 0%, 9%)
CIE-LABlab(58.01, 54.65, -52.31)
CIE-LCHlch(58.01, 75.65, 316.25°)
OKLaboklab(66.11% 0.1316 -0.1466)
OKLCHoklch(66.11% 0.197 311.9)
XYZxyz(39.6628, 25.9667, 79.2510)
Luminance0.2597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67E8 #95E867
analogous
#7967E8 #BA67E8 #E867D5
triadic
#BA67E8 #E8BA67 #67E8BA
tetradic
#BA67E8 #E87967 #95E867 #67D5E8
square
#BA67E8 #E87967 #95E867 #67D5E8
split-complementary
#BA67E8 #D5E867 #67E879
monochromatic
#811CB9 #A232E0 #BA67E8 #D29CF0 #EAD1F8

Accessibility & contrast

On white

3.39
#BA67E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#BA67E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67E8
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67E8#FFFFFF#000000##000000
##BA67E81.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EC
Deuteranopia (green-blind)
#5E8DE5
Tritanopia (blue-blind)
#B57E9E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba67e8;
/* rgb */ color: rgb(186, 103, 232);
/* oklch */ color: oklch(66.1% 0.197 311.9);
Tailwind
colors: {
  custom: {
    50: '#d296f0',
    500: '#ba67e8',
    950: '#000000',
  },
}
SCSS
$custom: #ba67e8;
$custom-light: #d296f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67e8",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 232
  },
  "hsl": {
    "h": 278.605,
    "s": 73.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6611,
    "c": 0.197,
    "h": 311.9
  },
  "luminance": 0.25966
}

Semantic roles & 50–950 ramp

primary
#BA67E8
secondary
#CFEBC0
accent
#D61056
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA67E8

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

Preview Lab → · Contrast checker → · Palette generator →

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