#BA88FE#BA88FE

#BA88FE is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.3% C 0.171 H 301.8°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#BA88FE
RGBrgb(186, 136, 254)
HSLhsl(265, 98%, 76%)
HSVhsv(265, 46%, 100%)
CMYKcmyk(26.8%, 46.5%, 0%, 0.4%)
CIE-LABlab(65.91, 42.17, -51.93)
CIE-LCHlch(65.91, 66.90, 309.08°)
OKLaboklab(72.33% 0.0904 -0.1456)
OKLCHoklch(72.33% 0.171 301.8)
XYZxyz(46.9392, 35.2031, 98.0687)
Luminance0.3520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA88FE #CCFE88
analogous
#8891FE #BA88FE #F588FE
triadic
#BA88FE #FEBA88 #88FEBA
tetradic
#BA88FE #FE8891 #CCFE88 #88FEF5
square
#BA88FE #FE8891 #CCFE88 #88FEF5
split-complementary
#BA88FE #FEF588 #91FE88
monochromatic
#740FFD #974BFD #BA88FE #DDC5FF #EDE1FF

Accessibility & contrast

On white

2.61
#BA88FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#BA88FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA88FE
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA88FE#FFFFFF#000000##000000
##BA88FE1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#71A0FB
Tritanopia (blue-blind)
#AD9DB7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ba88fe;
/* rgb */ color: rgb(186, 136, 254);
/* oklch */ color: oklch(72.3% 0.171 301.8);
Tailwind
colors: {
  custom: {
    50: '#d1abff',
    500: '#ba88fe',
    950: '#000000',
  },
}
SCSS
$custom: #ba88fe;
$custom-light: #d1abff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba88fe",
  "rgb": {
    "r": 186,
    "g": 136,
    "b": 254
  },
  "hsl": {
    "h": 265.424,
    "s": 98.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72334,
    "c": 0.17141,
    "h": 301.8
  },
  "luminance": 0.35203
}

Semantic roles & 50–950 ramp

primary
#BA88FE
secondary
#E8F7D4
accent
#E60084
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BA88FE

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

Preview Lab → · Contrast checker → · Palette generator →

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