#BA6EF3#BA6EF3

#BA6EF3 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.7% C 0.198 H 308.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#BA6EF3
RGBrgb(186, 110, 243)
HSLhsl(274, 85%, 69%)
HSVhsv(274, 55%, 95%)
CMYKcmyk(23.5%, 54.7%, 0%, 4.7%)
CIE-LABlab(59.95, 53.49, -55.34)
CIE-LCHlch(59.95, 76.97, 314.02°)
OKLaboklab(67.73% 0.1232 -0.1555)
OKLCHoklch(67.73% 0.198 308.4)
XYZxyz(42.0001, 28.0626, 87.9807)
Luminance0.2806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6EF3 #A7F36E
analogous
#786EF3 #BA6EF3 #F36EE9
triadic
#BA6EF3 #F3BA6E #6EF3BA
tetradic
#BA6EF3 #F3786E #A7F36E #6EE9F3
square
#BA6EF3 #F3786E #A7F36E #6EE9F3
split-complementary
#BA6EF3 #E9F36E #6EF378
monochromatic
#8112D5 #9F35EE #BA6EF3 #D5A7F8 #F0DFFC

Accessibility & contrast

On white

3.18
#BA6EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#BA6EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6EF3
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6EF3#FFFFFF#000000##000000
##BA6EF31.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#428DF7
Deuteranopia (green-blind)
#5D91F0
Tritanopia (blue-blind)
#B286A6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba6ef3;
/* rgb */ color: rgb(186, 110, 243);
/* oklch */ color: oklch(67.7% 0.198 308.4);
Tailwind
colors: {
  custom: {
    50: '#d29af8',
    500: '#ba6ef3',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ef3;
$custom-light: #d29af8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ef3",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 243
  },
  "hsl": {
    "h": 274.286,
    "s": 84.713,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67727,
    "c": 0.19841,
    "h": 308.4
  },
  "luminance": 0.28062
}

Semantic roles & 50–950 ramp

primary
#BA6EF3
secondary
#DCF2CB
accent
#E10463
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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