#BA6DF3#BA6DF3

#BA6DF3 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.6% C 0.200 H 308.5°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#BA6DF3
RGBrgb(186, 109, 243)
HSLhsl(274, 85%, 69%)
HSVhsv(274, 55%, 95%)
CMYKcmyk(23.5%, 55.1%, 0%, 4.7%)
CIE-LABlab(59.75, 54.00, -55.65)
CIE-LCHlch(59.75, 77.54, 314.14°)
OKLaboklab(67.58% 0.1245 -0.1564)
OKLCHoklch(67.58% 0.2 308.5)
XYZxyz(41.8928, 27.8481, 87.9449)
Luminance0.2785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6DF3 #A6F36D
analogous
#776DF3 #BA6DF3 #F36DE9
triadic
#BA6DF3 #F3BA6D #6DF3BA
tetradic
#BA6DF3 #F3776D #A6F36D #6DE9F3
square
#BA6DF3 #F3776D #A6F36D #6DE9F3
split-complementary
#BA6DF3 #E9F36D #6DF377
monochromatic
#8111D4 #9F34EE #BA6DF3 #D5A6F8 #EFDEFC

Accessibility & contrast

On white

3.20
#BA6DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#BA6DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6DF3
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6DF3#FFFFFF#000000##000000
##BA6DF31.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#418DF7
Deuteranopia (green-blind)
#5C91F0
Tritanopia (blue-blind)
#B285A6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba6df3;
/* rgb */ color: rgb(186, 109, 243);
/* oklch */ color: oklch(67.6% 0.200 308.5);
Tailwind
colors: {
  custom: {
    50: '#d29af8',
    500: '#ba6df3',
    950: '#000000',
  },
}
SCSS
$custom: #ba6df3;
$custom-light: #d29af8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6df3",
  "rgb": {
    "r": 186,
    "g": 109,
    "b": 243
  },
  "hsl": {
    "h": 274.478,
    "s": 84.81,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67584,
    "c": 0.1999,
    "h": 308.5
  },
  "luminance": 0.27847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA6DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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