#BA67E9#BA67E9

#BA67E9 is a light, vivid violet. Relative luminance 0.260; OKLCH L 66.2% C 0.198 H 311.6°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#BA67E9
RGBrgb(186, 103, 233)
HSLhsl(278, 75%, 66%)
HSVhsv(278, 56%, 91%)
CMYKcmyk(20.2%, 55.8%, 0%, 8.6%)
CIE-LABlab(58.06, 54.86, -52.78)
CIE-LCHlch(58.06, 76.13, 316.11°)
OKLaboklab(66.17% 0.1316 -0.148)
OKLCHoklch(66.17% 0.198 311.6)
XYZxyz(39.8053, 26.0237, 80.0012)
Luminance0.2602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67E9 #96E967
analogous
#7967E9 #BA67E9 #E967D7
triadic
#BA67E9 #E9BA67 #67E9BA
tetradic
#BA67E9 #E97967 #96E967 #67D7E9
square
#BA67E9 #E97967 #96E967 #67D7E9
split-complementary
#BA67E9 #D7E967 #67E979
monochromatic
#811BBB #A232E1 #BA67E9 #D29CF1 #EBD2F8

Accessibility & contrast

On white

3.38
#BA67E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#BA67E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67E9
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67E9#FFFFFF#000000##000000
##BA67E91.003.386.206.20
#FFFFFF3.381.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4087ED
Deuteranopia (green-blind)
#5E8DE6
Tritanopia (blue-blind)
#B57E9E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba67e9;
/* rgb */ color: rgb(186, 103, 233);
/* oklch */ color: oklch(66.2% 0.198 311.6);
Tailwind
colors: {
  custom: {
    50: '#d296f0',
    500: '#ba67e9',
    950: '#000000',
  },
}
SCSS
$custom: #ba67e9;
$custom-light: #d296f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67e9",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 233
  },
  "hsl": {
    "h": 278.308,
    "s": 74.713,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66167,
    "c": 0.19807,
    "h": 311.6
  },
  "luminance": 0.26023
}

Semantic roles & 50–950 ramp

primary
#BA67E9
secondary
#D0EBC0
accent
#D70F57
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA67E9

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

Preview Lab → · Contrast checker → · Palette generator →

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