#BA6CFA#BA6CFA

#BA6CFA is a light, highly saturated violet. Relative luminance 0.281; OKLCH L 67.9% C 0.209 H 307.0°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#BA6CFA
RGBrgb(186, 108, 250)
HSLhsl(273, 93%, 70%)
HSVhsv(273, 57%, 98%)
CMYKcmyk(25.6%, 56.8%, 0%, 2%)
CIE-LABlab(59.95, 56.07, -59.21)
CIE-LCHlch(59.95, 81.54, 313.44°)
OKLaboklab(67.86% 0.1259 -0.1668)
OKLCHoklch(67.86% 0.209 307)
XYZxyz(42.8640, 28.0668, 93.5833)
Luminance0.2807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6CFA #ACFA6C
analogous
#736CFA #BA6CFA #FA6CF3
triadic
#BA6CFA #FABA6C #6CFABA
tetradic
#BA6CFA #FA736C #ACFA6C #6CF3FA
square
#BA6CFA #FA736C #ACFA6C #6CF3FA
split-complementary
#BA6CFA #F3FA6C #6CFA73
monochromatic
#8108E4 #9E31F8 #BA6CFA #D6A7FC #F1E1FE

Accessibility & contrast

On white

3.18
#BA6CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#BA6CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6CFA
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6CFA#FFFFFF#000000##000000
##BA6CFA1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#368EFF
Deuteranopia (green-blind)
#5591F7
Tritanopia (blue-blind)
#B087A9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba6cfa;
/* rgb */ color: rgb(186, 108, 250);
/* oklch */ color: oklch(67.9% 0.209 307.0);
Tailwind
colors: {
  custom: {
    50: '#d299fd',
    500: '#ba6cfa',
    950: '#000000',
  },
}
SCSS
$custom: #ba6cfa;
$custom-light: #d299fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6cfa",
  "rgb": {
    "r": 186,
    "g": 108,
    "b": 250
  },
  "hsl": {
    "h": 272.958,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67855,
    "c": 0.209,
    "h": 307
  },
  "luminance": 0.28066
}

Semantic roles & 50–950 ramp

primary
#BA6CFA
secondary
#DFF5CD
accent
#E60067
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #BA6CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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