#BA93FA#BA93FA

#BA93FA is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.0% C 0.149 H 300.2°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#BA93FA
RGBrgb(186, 147, 250)
HSLhsl(263, 91%, 78%)
HSVhsv(263, 41%, 98%)
CMYKcmyk(25.6%, 41.2%, 0%, 2%)
CIE-LABlab(68.17, 35.17, -46.17)
CIE-LCHlch(68.17, 58.04, 307.30°)
OKLaboklab(73.98% 0.0752 -0.1289)
OKLCHoklch(73.98% 0.149 300.2)
XYZxyz(47.9348, 38.2085, 95.2735)
Luminance0.3821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA93FA #D3FA93
analogous
#93A0FA #BA93FA #ED93FA
triadic
#BA93FA #FABA93 #93FABA
tetradic
#BA93FA #FA93A0 #D3FA93 #93FAED
square
#BA93FA #FA93A0 #D3FA93 #93FAED
split-complementary
#BA93FA #FAED93 #A0FA93
monochromatic
#6F1EF5 #9559F7 #BA93FA #DFCDFD #ECE2FE

Accessibility & contrast

On white

2.43
#BA93FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#BA93FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA93FA
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA93FA#FFFFFF#000000##000000
##BA93FA1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FE
Deuteranopia (green-blind)
#7FA6F7
Tritanopia (blue-blind)
#AEA5BB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ba93fa;
/* rgb */ color: rgb(186, 147, 250);
/* oklch */ color: oklch(74.0% 0.149 300.2);
Tailwind
colors: {
  custom: {
    50: '#d1b3fc',
    500: '#ba93fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba93fa;
$custom-light: #d1b3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba93fa",
  "rgb": {
    "r": 186,
    "g": 147,
    "b": 250
  },
  "hsl": {
    "h": 262.718,
    "s": 91.15,
    "l": 77.843
  },
  "oklch": {
    "l": 0.73976,
    "c": 0.1492,
    "h": 300.2
  },
  "luminance": 0.38209
}

Semantic roles & 50–950 ramp

primary
#BA93FA
secondary
#E9F6D5
accent
#E6008F
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BA93FA

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

Preview Lab → · Contrast checker → · Palette generator →

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