#BA67E7#BA67E7

#BA67E7 is a light, vivid violet. Relative luminance 0.259; OKLCH L 66.1% C 0.196 H 312.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#BA67E7
RGBrgb(186, 103, 231)
HSLhsl(279, 73%, 65%)
HSVhsv(279, 55%, 91%)
CMYKcmyk(19.5%, 55.4%, 0%, 9.4%)
CIE-LABlab(57.95, 54.44, -51.84)
CIE-LCHlch(57.95, 75.17, 316.40°)
OKLaboklab(66.05% 0.1315 -0.1452)
OKLCHoklch(66.05% 0.196 312.2)
XYZxyz(39.5212, 25.9101, 78.5050)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67E7 #94E767
analogous
#7A67E7 #BA67E7 #E767D4
triadic
#BA67E7 #E7BA67 #67E7BA
tetradic
#BA67E7 #E77A67 #94E767 #67D4E7
square
#BA67E7 #E77A67 #94E767 #67D4E7
split-complementary
#BA67E7 #D4E767 #67E77A
monochromatic
#811DB7 #A232DF #BA67E7 #D29CEF #EAD1F8

Accessibility & contrast

On white

3.40
#BA67E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#BA67E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67E7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67E7#FFFFFF#000000##000000
##BA67E71.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4287EB
Deuteranopia (green-blind)
#5F8DE4
Tritanopia (blue-blind)
#B57D9D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba67e7;
/* rgb */ color: rgb(186, 103, 231);
/* oklch */ color: oklch(66.1% 0.196 312.2);
Tailwind
colors: {
  custom: {
    50: '#d296ef',
    500: '#ba67e7',
    950: '#000000',
  },
}
SCSS
$custom: #ba67e7;
$custom-light: #d296ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67e7",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 231
  },
  "hsl": {
    "h": 278.906,
    "s": 72.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66053,
    "c": 0.19595,
    "h": 312.2
  },
  "luminance": 0.25909
}

Semantic roles & 50–950 ramp

primary
#BA67E7
secondary
#CFEABF
accent
#D51156
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA67E7

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

Preview Lab → · Contrast checker → · Palette generator →

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