#BA6CF3#BA6CF3

#BA6CF3 is a light, highly saturated violet. Relative luminance 0.276; OKLCH L 67.4% C 0.201 H 308.6°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#BA6CF3
RGBrgb(186, 108, 243)
HSLhsl(275, 85%, 69%)
HSVhsv(275, 56%, 95%)
CMYKcmyk(23.5%, 55.6%, 0%, 4.7%)
CIE-LABlab(59.56, 54.51, -55.96)
CIE-LCHlch(59.56, 78.12, 314.25°)
OKLaboklab(67.44% 0.1257 -0.1573)
OKLCHoklch(67.44% 0.201 308.6)
XYZxyz(41.7867, 27.6359, 87.9096)
Luminance0.2763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6CF3 #A5F36C
analogous
#776CF3 #BA6CF3 #F36CE8
triadic
#BA6CF3 #F3BA6C #6CF3BA
tetradic
#BA6CF3 #F3776C #A5F36C #6CE8F3
square
#BA6CF3 #F3776C #A5F36C #6CE8F3
split-complementary
#BA6CF3 #E8F36C #6CF377
monochromatic
#8111D3 #9F33EE #BA6CF3 #D5A5F8 #EFDDFC

Accessibility & contrast

On white

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

On black

6.53
#BA6CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6CF3
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6CF3#FFFFFF#000000##000000
##BA6CF31.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8CF7
Deuteranopia (green-blind)
#5B90F0
Tritanopia (blue-blind)
#B285A5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba6cf3;
/* rgb */ color: rgb(186, 108, 243);
/* oklch */ color: oklch(67.4% 0.201 308.6);
Tailwind
colors: {
  custom: {
    50: '#d299f8',
    500: '#ba6cf3',
    950: '#000000',
  },
}
SCSS
$custom: #ba6cf3;
$custom-light: #d299f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6cf3",
  "rgb": {
    "r": 186,
    "g": 108,
    "b": 243
  },
  "hsl": {
    "h": 274.667,
    "s": 84.906,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67443,
    "c": 0.20138,
    "h": 308.6
  },
  "luminance": 0.27635
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA6CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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