#BA67E6#BA67E6

#BA67E6 is a light, vivid violet. Relative luminance 0.259; OKLCH L 66.0% C 0.195 H 312.4°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#BA67E6
RGBrgb(186, 103, 230)
HSLhsl(279, 72%, 65%)
HSVhsv(279, 55%, 90%)
CMYKcmyk(19.1%, 55.2%, 0%, 9.8%)
CIE-LABlab(57.90, 54.22, -51.36)
CIE-LCHlch(57.90, 74.69, 316.55°)
OKLaboklab(66% 0.1315 -0.1439)
OKLCHoklch(66% 0.195 312.4)
XYZxyz(39.3804, 25.8537, 77.7633)
Luminance0.2585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67E6 #93E667
analogous
#7B67E6 #BA67E6 #E667D2
triadic
#BA67E6 #E6BA67 #67E6BA
tetradic
#BA67E6 #E67B67 #93E667 #67D2E6
square
#BA67E6 #E67B67 #93E667 #67D2E6
split-complementary
#BA67E6 #D2E667 #67E67B
monochromatic
#811EB5 #A232DD #BA67E6 #D29CEF #EAD0F7

Accessibility & contrast

On white

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

On black

6.17
#BA67E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67E6
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67E6#FFFFFF#000000##000000
##BA67E61.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4387EA
Deuteranopia (green-blind)
#608DE3
Tritanopia (blue-blind)
#B57D9D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba67e6;
/* rgb */ color: rgb(186, 103, 230);
/* oklch */ color: oklch(66.0% 0.195 312.4);
Tailwind
colors: {
  custom: {
    50: '#d296ee',
    500: '#ba67e6',
    950: '#000000',
  },
}
SCSS
$custom: #ba67e6;
$custom-light: #d296ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67e6",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 230
  },
  "hsl": {
    "h": 279.213,
    "s": 71.751,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65996,
    "c": 0.1949,
    "h": 312.4
  },
  "luminance": 0.25853
}

Semantic roles & 50–950 ramp

primary
#BA67E6
secondary
#CEEABF
accent
#D41255
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA67E6

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

Preview Lab → · Contrast checker → · Palette generator →

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