#BA6EF6#BA6EF6

#BA6EF6 is a light, highly saturated violet. Relative luminance 0.282; OKLCH L 67.9% C 0.202 H 307.7°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#BA6EF6
RGBrgb(186, 110, 246)
HSLhsl(274, 88%, 70%)
HSVhsv(274, 55%, 96%)
CMYKcmyk(24.4%, 55.3%, 0%, 3.5%)
CIE-LABlab(60.11, 54.15, -56.74)
CIE-LCHlch(60.11, 78.44, 313.66°)
OKLaboklab(67.9% 0.1233 -0.1596)
OKLCHoklch(67.9% 0.202 307.7)
XYZxyz(42.4568, 28.2453, 90.3862)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6EF6 #AAF66E
analogous
#766EF6 #BA6EF6 #F66EEE
triadic
#BA6EF6 #F6BA6E #6EF6BA
tetradic
#BA6EF6 #F6766E #AAF66E #6EEEF6
square
#BA6EF6 #F6766E #AAF66E #6EEEF6
split-complementary
#BA6EF6 #EEF66E #6EF676
monochromatic
#810EDC #9F34F2 #BA6EF6 #D5A8FA #F1E1FD

Accessibility & contrast

On white

3.16
#BA6EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#BA6EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6EF6
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6EF6#FFFFFF#000000##000000
##BA6EF61.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8EFA
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#B187A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba6ef6;
/* rgb */ color: rgb(186, 110, 246);
/* oklch */ color: oklch(67.9% 0.202 307.7);
Tailwind
colors: {
  custom: {
    50: '#d29afa',
    500: '#ba6ef6',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ef6;
$custom-light: #d29afa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ef6",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 246
  },
  "hsl": {
    "h": 273.529,
    "s": 88.312,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67901,
    "c": 0.20171,
    "h": 307.7
  },
  "luminance": 0.28245
}

Semantic roles & 50–950 ramp

primary
#BA6EF6
secondary
#DEF3CD
accent
#E50165
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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