#BA6CF7#BA6CF7

#BA6CF7 is a light, highly saturated violet. Relative luminance 0.279; OKLCH L 67.7% C 0.206 H 307.7°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#BA6CF7
RGBrgb(186, 108, 247)
HSLhsl(274, 90%, 70%)
HSVhsv(274, 56%, 97%)
CMYKcmyk(24.7%, 56.3%, 0%, 3.1%)
CIE-LABlab(59.78, 55.40, -57.82)
CIE-LCHlch(59.78, 80.07, 313.77°)
OKLaboklab(67.68% 0.1258 -0.1628)
OKLCHoklch(67.68% 0.206 307.7)
XYZxyz(42.3974, 27.8802, 91.1256)
Luminance0.2788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6CF7 #A9F76C
analogous
#756CF7 #BA6CF7 #F76CEE
triadic
#BA6CF7 #F7BA6C #6CF7BA
tetradic
#BA6CF7 #F7756C #A9F76C #6CEEF7
square
#BA6CF7 #F7756C #A9F76C #6CEEF7
split-complementary
#BA6CF7 #EEF76C #6CF775
monochromatic
#810CDD #9F32F4 #BA6CF7 #D5A6FA #F0E0FD

Accessibility & contrast

On white

3.19
#BA6CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#BA6CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6CF7
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6CF7#FFFFFF#000000##000000
##BA6CF71.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8DFC
Deuteranopia (green-blind)
#5891F4
Tritanopia (blue-blind)
#B186A7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba6cf7;
/* rgb */ color: rgb(186, 108, 247);
/* oklch */ color: oklch(67.7% 0.206 307.7);
Tailwind
colors: {
  custom: {
    50: '#d299fa',
    500: '#ba6cf7',
    950: '#000000',
  },
}
SCSS
$custom: #ba6cf7;
$custom-light: #d299fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6cf7",
  "rgb": {
    "r": 186,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 273.669,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67677,
    "c": 0.20573,
    "h": 307.7
  },
  "luminance": 0.2788
}

Semantic roles & 50–950 ramp

primary
#BA6CF7
secondary
#DDF3CC
accent
#E60065
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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