#BA67EF#BA67EF

#BA67EF is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.5% C 0.204 H 310.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#BA67EF
RGBrgb(186, 103, 239)
HSLhsl(277, 81%, 67%)
HSVhsv(277, 57%, 94%)
CMYKcmyk(22.2%, 56.9%, 0%, 6.3%)
CIE-LABlab(58.39, 56.15, -55.60)
CIE-LCHlch(58.39, 79.03, 315.28°)
OKLaboklab(66.52% 0.1318 -0.1562)
OKLCHoklch(66.52% 0.204 310.2)
XYZxyz(40.6770, 26.3724, 84.5922)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67EF #9CEF67
analogous
#7667EF #BA67EF #EF67E0
triadic
#BA67EF #EFBA67 #67EFBA
tetradic
#BA67EF #EF7667 #9CEF67 #67E0EF
square
#BA67EF #EF7667 #9CEF67 #67E0EF
split-complementary
#BA67EF #E0EF67 #67EF76
monochromatic
#8115C7 #A130E9 #BA67EF #D39EF5 #ECD6FB

Accessibility & contrast

On white

3.35
#BA67EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#BA67EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67EF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67EF#FFFFFF#000000##000000
##BA67EF1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3989F3
Deuteranopia (green-blind)
#598EEC
Tritanopia (blue-blind)
#B380A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba67ef;
/* rgb */ color: rgb(186, 103, 239);
/* oklch */ color: oklch(66.5% 0.204 310.2);
Tailwind
colors: {
  custom: {
    50: '#d296f5',
    500: '#ba67ef',
    950: '#000000',
  },
}
SCSS
$custom: #ba67ef;
$custom-light: #d296f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67ef",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 239
  },
  "hsl": {
    "h": 276.618,
    "s": 80.952,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66515,
    "c": 0.20443,
    "h": 310.2
  },
  "luminance": 0.26372
}

Semantic roles & 50–950 ramp

primary
#BA67EF
secondary
#D4EEC3
accent
#DD085B
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA67EF

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

Preview Lab → · Contrast checker → · Palette generator →

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