#BA6BF3#BA6BF3

#BA6BF3 is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.3% C 0.203 H 308.8°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#BA6BF3
RGBrgb(186, 107, 243)
HSLhsl(275, 85%, 69%)
HSVhsv(275, 56%, 95%)
CMYKcmyk(23.5%, 56%, 0%, 4.7%)
CIE-LABlab(59.37, 55.02, -56.27)
CIE-LCHlch(59.37, 78.69, 314.36°)
OKLaboklab(67.3% 0.127 -0.1582)
OKLCHoklch(67.3% 0.203 308.8)
XYZxyz(41.6819, 27.4262, 87.8746)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6BF3 #A4F36B
analogous
#766BF3 #BA6BF3 #F36BE8
triadic
#BA6BF3 #F3BA6B #6BF3BA
tetradic
#BA6BF3 #F3766B #A4F36B #6BE8F3
square
#BA6BF3 #F3766B #A4F36B #6BE8F3
split-complementary
#BA6BF3 #E8F36B #6BF376
monochromatic
#8111D3 #A032EE #BA6BF3 #D4A4F8 #EFDCFC

Accessibility & contrast

On white

3.24
#BA6BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#BA6BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6BF3
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6BF3#FFFFFF#000000##000000
##BA6BF31.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8CF7
Deuteranopia (green-blind)
#5A90F0
Tritanopia (blue-blind)
#B284A5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba6bf3;
/* rgb */ color: rgb(186, 107, 243);
/* oklch */ color: oklch(67.3% 0.203 308.8);
Tailwind
colors: {
  custom: {
    50: '#d298f8',
    500: '#ba6bf3',
    950: '#000000',
  },
}
SCSS
$custom: #ba6bf3;
$custom-light: #d298f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6bf3",
  "rgb": {
    "r": 186,
    "g": 107,
    "b": 243
  },
  "hsl": {
    "h": 274.853,
    "s": 85,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67302,
    "c": 0.20285,
    "h": 308.8
  },
  "luminance": 0.27426
}

Semantic roles & 50–950 ramp

primary
#BA6BF3
secondary
#DAF1C9
accent
#E10461
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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