#BA93FB#BA93FB

#BA93FB is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.0% C 0.150 H 300.0°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#BA93FB
RGBrgb(186, 147, 251)
HSLhsl(263, 93%, 78%)
HSVhsv(263, 41%, 98%)
CMYKcmyk(25.9%, 41.4%, 0%, 1.6%)
CIE-LABlab(68.22, 35.41, -46.64)
CIE-LCHlch(68.22, 58.56, 307.21°)
OKLaboklab(74.03% 0.0753 -0.1303)
OKLCHoklch(74.03% 0.15 300)
XYZxyz(48.0920, 38.2713, 96.1015)
Luminance0.3827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA93FB #D4FB93
analogous
#93A0FB #BA93FB #EE93FB
triadic
#BA93FB #FBBA93 #93FBBA
tetradic
#BA93FB #FB93A0 #D4FB93 #93FBEE
square
#BA93FB #FB93A0 #D4FB93 #93FBEE
split-complementary
#BA93FB #FBEE93 #A0FB93
monochromatic
#6F1DF7 #9458F9 #BA93FB #E0CEFD #ECE1FE

Accessibility & contrast

On white

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

On black

8.65
#BA93FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA93FB
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA93FB#FFFFFF#000000##000000
##BA93FB1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba93fb;
/* rgb */ color: rgb(186, 147, 251);
/* oklch */ color: oklch(74.0% 0.150 300.0);
Tailwind
colors: {
  custom: {
    50: '#d1b3fd',
    500: '#ba93fb',
    950: '#000000',
  },
}
SCSS
$custom: #ba93fb;
$custom-light: #d1b3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba93fb",
  "rgb": {
    "r": 186,
    "g": 147,
    "b": 251
  },
  "hsl": {
    "h": 262.5,
    "s": 92.857,
    "l": 78.039
  },
  "oklch": {
    "l": 0.74026,
    "c": 0.15048,
    "h": 300
  },
  "luminance": 0.38272
}

Semantic roles & 50–950 ramp

primary
#BA93FB
secondary
#EAF6D5
accent
#E6008F
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BA93FB

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

Preview Lab → · Contrast checker → · Palette generator →

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