#BA91FA#BA91FA

#BA91FA is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.6% C 0.152 H 300.7°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#BA91FA
RGBrgb(186, 145, 250)
HSLhsl(263, 91%, 77%)
HSVhsv(263, 42%, 98%)
CMYKcmyk(25.6%, 42%, 0%, 2%)
CIE-LABlab(67.72, 36.28, -46.88)
CIE-LCHlch(67.72, 59.28, 307.73°)
OKLaboklab(73.63% 0.0779 -0.131)
OKLCHoklch(73.63% 0.152 300.7)
XYZxyz(47.6265, 37.5919, 95.1708)
Luminance0.3759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA91FA #D1FA91
analogous
#919CFA #BA91FA #EF91FA
triadic
#BA91FA #FABA91 #91FABA
tetradic
#BA91FA #FA919C #D1FA91 #91FAEF
square
#BA91FA #FA919C #D1FA91 #91FAEF
split-complementary
#BA91FA #FAEF91 #9CFA91
monochromatic
#711CF5 #9556F7 #BA91FA #DFCCFD #EDE2FE

Accessibility & contrast

On white

2.47
#BA91FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#BA91FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA91FA
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA91FA#FFFFFF#000000##000000
##BA91FA1.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FE
Deuteranopia (green-blind)
#7DA4F7
Tritanopia (blue-blind)
#AEA3BA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ba91fa;
/* rgb */ color: rgb(186, 145, 250);
/* oklch */ color: oklch(73.6% 0.152 300.7);
Tailwind
colors: {
  custom: {
    50: '#d1b2fc',
    500: '#ba91fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba91fa;
$custom-light: #d1b2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba91fa",
  "rgb": {
    "r": 186,
    "g": 145,
    "b": 250
  },
  "hsl": {
    "h": 263.429,
    "s": 91.304,
    "l": 77.451
  },
  "oklch": {
    "l": 0.73633,
    "c": 0.15236,
    "h": 300.7
  },
  "luminance": 0.37592
}

Semantic roles & 50–950 ramp

primary
#BA91FA
secondary
#E9F6D5
accent
#E6008C
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BA91FA

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

Preview Lab → · Contrast checker → · Palette generator →

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