#BA89EE#BA89EE

#BA89EE is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.7% C 0.150 H 305.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#BA89EE
RGBrgb(186, 137, 238)
HSLhsl(269, 75%, 74%)
HSVhsv(269, 42%, 93%)
CMYKcmyk(21.8%, 42.4%, 0%, 6.7%)
CIE-LABlab(65.36, 37.92, -44.01)
CIE-LCHlch(65.36, 58.09, 310.75°)
OKLaboklab(71.67% 0.0868 -0.1226)
OKLCHoklch(71.67% 0.15 305.3)
XYZxyz(44.6248, 34.5037, 85.1813)
Luminance0.3450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA89EE #BDEE89
analogous
#898AEE #BA89EE #EC89EE
triadic
#BA89EE #EEBA89 #89EEBA
tetradic
#BA89EE #EE898A #BDEE89 #89EEEC
square
#BA89EE #EE898A #BDEE89 #89EEEC
split-complementary
#BA89EE #EEEC89 #8AEE89
monochromatic
#7B20DD #9B54E6 #BA89EE #D9BEF6 #EFE4FB

Accessibility & contrast

On white

2.66
#BA89EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#BA89EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA89EE
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA89EE#FFFFFF#000000##000000
##BA89EE1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF2
Deuteranopia (green-blind)
#7C9FEB
Tritanopia (blue-blind)
#B299B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ba89ee;
/* rgb */ color: rgb(186, 137, 238);
/* oklch */ color: oklch(71.7% 0.150 305.3);
Tailwind
colors: {
  custom: {
    50: '#d0acf4',
    500: '#ba89ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba89ee;
$custom-light: #d0acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba89ee",
  "rgb": {
    "r": 186,
    "g": 137,
    "b": 238
  },
  "hsl": {
    "h": 269.109,
    "s": 74.815,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71674,
    "c": 0.15021,
    "h": 305.3
  },
  "luminance": 0.34503
}

Semantic roles & 50–950 ramp

primary
#BA89EE
secondary
#E6F3D8
accent
#D70F76
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BA89EE

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

Preview Lab → · Contrast checker → · Palette generator →

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