#BA6BF6#BA6BF6

#BA6BF6 is a light, highly saturated violet. Relative luminance 0.276; OKLCH L 67.5% C 0.206 H 308.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#BA6BF6
RGBrgb(186, 107, 246)
HSLhsl(274, 89%, 69%)
HSVhsv(274, 57%, 96%)
CMYKcmyk(24.4%, 56.5%, 0%, 3.5%)
CIE-LABlab(59.53, 55.68, -57.66)
CIE-LCHlch(59.53, 80.16, 314.00°)
OKLaboklab(67.48% 0.1271 -0.1623)
OKLCHoklch(67.48% 0.206 308.1)
XYZxyz(42.1386, 27.6089, 90.2801)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6BF6 #A7F66B
analogous
#756BF6 #BA6BF6 #F66BEC
triadic
#BA6BF6 #F6BA6B #6BF6BA
tetradic
#BA6BF6 #F6756B #A7F66B #6BECF6
square
#BA6BF6 #F6756B #A7F66B #6BECF6
split-complementary
#BA6BF6 #ECF66B #6BF675
monochromatic
#810DD9 #9F31F2 #BA6BF6 #D5A5FA #F0DEFD

Accessibility & contrast

On white

3.22
#BA6BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#BA6BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6BF6
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6BF6#FFFFFF#000000##000000
##BA6BF61.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#398CFB
Deuteranopia (green-blind)
#5890F3
Tritanopia (blue-blind)
#B185A7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba6bf6;
/* rgb */ color: rgb(186, 107, 246);
/* oklch */ color: oklch(67.5% 0.206 308.1);
Tailwind
colors: {
  custom: {
    50: '#d298fa',
    500: '#ba6bf6',
    950: '#000000',
  },
}
SCSS
$custom: #ba6bf6;
$custom-light: #d298fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6bf6",
  "rgb": {
    "r": 186,
    "g": 107,
    "b": 246
  },
  "hsl": {
    "h": 274.101,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67478,
    "c": 0.20611,
    "h": 308.1
  },
  "luminance": 0.27608
}

Semantic roles & 50–950 ramp

primary
#BA6BF6
secondary
#DCF3CA
accent
#E50063
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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