#BA6CF5#BA6CF5

#BA6CF5 is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.6% C 0.204 H 308.2°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#BA6CF5
RGBrgb(186, 108, 245)
HSLhsl(274, 87%, 69%)
HSVhsv(274, 56%, 96%)
CMYKcmyk(24.1%, 55.9%, 0%, 3.9%)
CIE-LABlab(59.67, 54.95, -56.89)
CIE-LCHlch(59.67, 79.10, 314.01°)
OKLaboklab(67.56% 0.1258 -0.16)
OKLCHoklch(67.56% 0.204 308.2)
XYZxyz(42.0904, 27.7574, 89.5089)
Luminance0.2776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6CF5 #A7F56C
analogous
#766CF5 #BA6CF5 #F56CEB
triadic
#BA6CF5 #F5BA6C #6CF5BA
tetradic
#BA6CF5 #F5766C #A7F56C #6CEBF5
square
#BA6CF5 #F5766C #A7F56C #6CEBF5
split-complementary
#BA6CF5 #EBF56C #6CF576
monochromatic
#810FD8 #9F33F1 #BA6CF5 #D5A5F9 #F0DFFD

Accessibility & contrast

On white

3.21
#BA6CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#BA6CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6CF5
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6CF5#FFFFFF#000000##000000
##BA6CF51.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8DF9
Deuteranopia (green-blind)
#5A91F2
Tritanopia (blue-blind)
#B185A6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba6cf5;
/* rgb */ color: rgb(186, 108, 245);
/* oklch */ color: oklch(67.6% 0.204 308.2);
Tailwind
colors: {
  custom: {
    50: '#d299f9',
    500: '#ba6cf5',
    950: '#000000',
  },
}
SCSS
$custom: #ba6cf5;
$custom-light: #d299f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6cf5",
  "rgb": {
    "r": 186,
    "g": 108,
    "b": 245
  },
  "hsl": {
    "h": 274.161,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67559,
    "c": 0.20356,
    "h": 308.2
  },
  "luminance": 0.27757
}

Semantic roles & 50–950 ramp

primary
#BA6CF5
secondary
#DCF2CA
accent
#E40263
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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