#BA89FF#BA89FF

#BA89FF is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.6% C 0.171 H 301.4°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#BA89FF
RGBrgb(186, 137, 255)
HSLhsl(265, 100%, 77%)
HSVhsv(265, 46%, 100%)
CMYKcmyk(27.1%, 46.3%, 0%, 0%)
CIE-LABlab(66.17, 41.86, -52.05)
CIE-LCHlch(66.17, 66.79, 308.81°)
OKLaboklab(72.55% 0.0892 -0.146)
OKLCHoklch(72.55% 0.171 301.4)
XYZxyz(47.2413, 35.5503, 98.9614)
Luminance0.3555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA89FF #CEFF89
analogous
#8993FF #BA89FF #F589FF
triadic
#BA89FF #FFBA89 #89FFBA
tetradic
#BA89FF #FF8993 #CEFF89 #89FFF5
square
#BA89FF #FF8993 #CEFF89 #89FFF5
split-complementary
#BA89FF #FFF589 #93FF89
monochromatic
#720FFF #964CFF #BA89FF #DEC6FF #EDE0FF

Accessibility & contrast

On white

2.59
#BA89FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#BA89FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA89FF
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA89FF#FFFFFF#000000##000000
##BA89FF1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#66A0FF
Deuteranopia (green-blind)
#72A0FC
Tritanopia (blue-blind)
#AD9EB8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ba89ff;
/* rgb */ color: rgb(186, 137, 255);
/* oklch */ color: oklch(72.6% 0.171 301.4);
Tailwind
colors: {
  custom: {
    50: '#d1acff',
    500: '#ba89ff',
    950: '#000000',
  },
}
SCSS
$custom: #ba89ff;
$custom-light: #d1acff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba89ff",
  "rgb": {
    "r": 186,
    "g": 137,
    "b": 255
  },
  "hsl": {
    "h": 264.915,
    "s": 100,
    "l": 76.863
  },
  "oklch": {
    "l": 0.72551,
    "c": 0.1711,
    "h": 301.4
  },
  "luminance": 0.3555
}

Semantic roles & 50–950 ramp

primary
#BA89FF
secondary
#E9F7D4
accent
#E60086
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BA89FF

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

Preview Lab → · Contrast checker → · Palette generator →

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