#BA94FA#BA94FA

#BA94FA is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.1% C 0.148 H 300.0°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#BA94FA
RGBrgb(186, 148, 250)
HSLhsl(262, 91%, 78%)
HSVhsv(262, 41%, 98%)
CMYKcmyk(25.6%, 40.8%, 0%, 2%)
CIE-LABlab(68.40, 34.62, -45.81)
CIE-LCHlch(68.40, 57.42, 307.08°)
OKLaboklab(74.15% 0.0738 -0.1278)
OKLCHoklch(74.15% 0.148 300)
XYZxyz(48.0910, 38.5208, 95.3256)
Luminance0.3852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA94FA #D4FA94
analogous
#94A1FA #BA94FA #ED94FA
triadic
#BA94FA #FABA94 #94FABA
tetradic
#BA94FA #FA94A1 #D4FA94 #94FAED
square
#BA94FA #FA94A1 #D4FA94 #94FAED
split-complementary
#BA94FA #FAED94 #A1FA94
monochromatic
#6F1FF5 #945AF7 #BA94FA #E0CEFD #ECE2FE

Accessibility & contrast

On white

2.41
#BA94FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#BA94FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA94FA
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA94FA#FFFFFF#000000##000000
##BA94FA1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FE
Deuteranopia (green-blind)
#80A6F7
Tritanopia (blue-blind)
#AEA5BB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ba94fa;
/* rgb */ color: rgb(186, 148, 250);
/* oklch */ color: oklch(74.1% 0.148 300.0);
Tailwind
colors: {
  custom: {
    50: '#d1b4fc',
    500: '#ba94fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba94fa;
$custom-light: #d1b4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba94fa",
  "rgb": {
    "r": 186,
    "g": 148,
    "b": 250
  },
  "hsl": {
    "h": 262.353,
    "s": 91.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.74149,
    "c": 0.14762,
    "h": 300
  },
  "luminance": 0.38521
}

Semantic roles & 50–950 ramp

primary
#BA94FA
secondary
#EAF6D5
accent
#E60090
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BA94FA

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

Preview Lab → · Contrast checker → · Palette generator →

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