#BA8BFA#BA8BFA

#BA8BFA is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.6% C 0.162 H 302.1°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#BA8BFA
RGBrgb(186, 139, 250)
HSLhsl(265, 92%, 76%)
HSVhsv(265, 44%, 98%)
CMYKcmyk(25.6%, 44.4%, 0%, 2%)
CIE-LABlab(66.37, 39.59, -49.01)
CIE-LCHlch(66.37, 63.00, 308.93°)
OKLaboklab(72.62% 0.0859 -0.1371)
OKLCHoklch(72.62% 0.162 302.1)
XYZxyz(46.7338, 35.8064, 94.8732)
Luminance0.3581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8BFA #CBFA8B
analogous
#8B94FA #BA8BFA #F18BFA
triadic
#BA8BFA #FABA8B #8BFABA
tetradic
#BA8BFA #FA8B94 #CBFA8B #8BFAF1
square
#BA8BFA #FA8B94 #CBFA8B #8BFAF1
split-complementary
#BA8BFA #FAF18B #94FA8B
monochromatic
#7416F5 #9750F7 #BA8BFA #DDC6FD #EEE2FE

Accessibility & contrast

On white

2.57
#BA8BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#BA8BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8BFA
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8BFA#FFFFFF#000000##000000
##BA8BFA1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FE
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#AE9EB7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ba8bfa;
/* rgb */ color: rgb(186, 139, 250);
/* oklch */ color: oklch(72.6% 0.162 302.1);
Tailwind
colors: {
  custom: {
    50: '#d1adfc',
    500: '#ba8bfa',
    950: '#000000',
  },
}
SCSS
$custom: #ba8bfa;
$custom-light: #d1adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8bfa",
  "rgb": {
    "r": 186,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 265.405,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72619,
    "c": 0.16182,
    "h": 302.1
  },
  "luminance": 0.35806
}

Semantic roles & 50–950 ramp

primary
#BA8BFA
secondary
#E8F6D5
accent
#E60084
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BA8BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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