#BA88FA#BA88FA

#BA88FA is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.1% C 0.167 H 302.7°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#BA88FA
RGBrgb(186, 136, 250)
HSLhsl(266, 92%, 76%)
HSVhsv(266, 46%, 98%)
CMYKcmyk(25.6%, 45.6%, 0%, 2%)
CIE-LABlab(65.71, 41.23, -50.05)
CIE-LCHlch(65.71, 64.85, 309.48°)
OKLaboklab(72.12% 0.0899 -0.1402)
OKLCHoklch(72.12% 0.167 302.7)
XYZxyz(46.3054, 34.9496, 94.7304)
Luminance0.3495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA88FA #C8FA88
analogous
#888FFA #BA88FA #F388FA
triadic
#BA88FA #FABA88 #88FABA
tetradic
#BA88FA #FA888F #C8FA88 #88FAF3
square
#BA88FA #FA888F #C8FA88 #88FAF3
split-complementary
#BA88FA #FAF388 #8FFA88
monochromatic
#7613F5 #984DF8 #BA88FA #DCC3FC #EEE2FE

Accessibility & contrast

On white

2.63
#BA88FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#BA88FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA88FA
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA88FA#FFFFFF#000000##000000
##BA88FA1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFE
Deuteranopia (green-blind)
#749FF7
Tritanopia (blue-blind)
#AF9CB5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ba88fa;
/* rgb */ color: rgb(186, 136, 250);
/* oklch */ color: oklch(72.1% 0.167 302.7);
Tailwind
colors: {
  custom: {
    50: '#d1abfc',
    500: '#ba88fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba88fa;
$custom-light: #d1abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba88fa",
  "rgb": {
    "r": 186,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 266.316,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72122,
    "c": 0.16653,
    "h": 302.7
  },
  "luminance": 0.3495
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA88FA

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

Preview Lab → · Contrast checker → · Palette generator →

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