#BA6CF8#BA6CF8

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

Color values

HEX#BA6CF8
RGBrgb(186, 108, 248)
HSLhsl(273, 91%, 70%)
HSVhsv(273, 56%, 97%)
CMYKcmyk(25%, 56.5%, 0%, 2.7%)
CIE-LABlab(59.84, 55.62, -58.28)
CIE-LCHlch(59.84, 80.56, 313.66°)
OKLaboklab(67.74% 0.1259 -0.1641)
OKLCHoklch(67.74% 0.207 307.5)
XYZxyz(42.5521, 27.9421, 91.9404)
Luminance0.2794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6CF8 #AAF86C
analogous
#746CF8 #BA6CF8 #F86CF0
triadic
#BA6CF8 #F8BA6C #6CF8BA
tetradic
#BA6CF8 #F8746C #AAF86C #6CF0F8
square
#BA6CF8 #F8746C #AAF86C #6CF0F8
split-complementary
#BA6CF8 #F0F86C #6CF874
monochromatic
#810BDF #9F32F5 #BA6CF8 #D5A6FB #F1E1FE

Accessibility & contrast

On white

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

On black

6.59
#BA6CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6CF8
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6CF8#FFFFFF#000000##000000
##BA6CF81.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#398DFD
Deuteranopia (green-blind)
#5791F5
Tritanopia (blue-blind)
#B186A8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba6cf8;
/* rgb */ color: rgb(186, 108, 248);
/* oklch */ color: oklch(67.7% 0.207 307.5);
Tailwind
colors: {
  custom: {
    50: '#d299fb',
    500: '#ba6cf8',
    950: '#000000',
  },
}
SCSS
$custom: #ba6cf8;
$custom-light: #d299fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6cf8",
  "rgb": {
    "r": 186,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 273.429,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67736,
    "c": 0.20682,
    "h": 307.5
  },
  "luminance": 0.27942
}

Semantic roles & 50–950 ramp

primary
#BA6CF8
secondary
#DEF4CC
accent
#E60066
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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