#BA6AF3#BA6AF3

#BA6AF3 is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.2% C 0.204 H 308.9°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#BA6AF3
RGBrgb(186, 106, 243)
HSLhsl(275, 85%, 68%)
HSVhsv(275, 56%, 95%)
CMYKcmyk(23.5%, 56.4%, 0%, 4.7%)
CIE-LABlab(59.18, 55.52, -56.57)
CIE-LCHlch(59.18, 79.26, 314.47°)
OKLaboklab(67.16% 0.1282 -0.1591)
OKLCHoklch(67.16% 0.204 308.9)
XYZxyz(41.5782, 27.2189, 87.8401)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6AF3 #A3F36A
analogous
#756AF3 #BA6AF3 #F36AE8
triadic
#BA6AF3 #F3BA6A #6AF3BA
tetradic
#BA6AF3 #F3756A #A3F36A #6AE8F3
square
#BA6AF3 #F3756A #A3F36A #6AE8F3
split-complementary
#BA6AF3 #E8F36A #6AF375
monochromatic
#8111D2 #A031EE #BA6AF3 #D4A3F8 #EEDBFC

Accessibility & contrast

On white

3.26
#BA6AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#BA6AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6AF3
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6AF3#FFFFFF#000000##000000
##BA6AF31.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8BF7
Deuteranopia (green-blind)
#5990F0
Tritanopia (blue-blind)
#B283A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba6af3;
/* rgb */ color: rgb(186, 106, 243);
/* oklch */ color: oklch(67.2% 0.204 308.9);
Tailwind
colors: {
  custom: {
    50: '#d298f8',
    500: '#ba6af3',
    950: '#000000',
  },
}
SCSS
$custom: #ba6af3;
$custom-light: #d298f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6af3",
  "rgb": {
    "r": 186,
    "g": 106,
    "b": 243
  },
  "hsl": {
    "h": 275.036,
    "s": 85.093,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67163,
    "c": 0.20433,
    "h": 308.9
  },
  "luminance": 0.27218
}

Semantic roles & 50–950 ramp

primary
#BA6AF3
secondary
#D9F1C8
accent
#E20460
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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