#BA88EA#BA88EA

#BA88EA is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.3% C 0.147 H 306.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#BA88EA
RGBrgb(186, 136, 234)
HSLhsl(271, 70%, 73%)
HSVhsv(271, 42%, 92%)
CMYKcmyk(20.5%, 41.9%, 0%, 8.2%)
CIE-LABlab(64.95, 37.57, -42.44)
CIE-LCHlch(64.95, 56.68, 311.51°)
OKLaboklab(71.31% 0.0875 -0.1181)
OKLCHoklch(71.31% 0.147 306.5)
XYZxyz(43.9022, 33.9883, 82.0735)
Luminance0.3399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA88EA #B8EA88
analogous
#8988EA #BA88EA #EA88E9
triadic
#BA88EA #EABA88 #88EABA
tetradic
#BA88EA #EA8988 #B8EA88 #88E9EA
square
#BA88EA #EA8988 #B8EA88 #88E9EA
split-complementary
#BA88EA #E9EA88 #88EA89
monochromatic
#7E25D2 #9C54E1 #BA88EA #D8BCF3 #F0E5FA

Accessibility & contrast

On white

2.69
#BA88EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#BA88EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA88EA
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA88EA#FFFFFF#000000##000000
##BA88EA1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEE
Deuteranopia (green-blind)
#7D9EE7
Tritanopia (blue-blind)
#B398AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ba88ea;
/* rgb */ color: rgb(186, 136, 234);
/* oklch */ color: oklch(71.3% 0.147 306.5);
Tailwind
colors: {
  custom: {
    50: '#d0abf1',
    500: '#ba88ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba88ea;
$custom-light: #d0abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba88ea",
  "rgb": {
    "r": 186,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 270.612,
    "s": 70,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71308,
    "c": 0.14695,
    "h": 306.5
  },
  "luminance": 0.33988
}

Semantic roles & 50–950 ramp

primary
#BA88EA
secondary
#E5F2D9
accent
#D21471
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #BA88EA

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

Preview Lab → · Contrast checker → · Palette generator →

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