#BA88FD#BA88FD

#BA88FD is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.3% C 0.170 H 302.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#BA88FD
RGBrgb(186, 136, 253)
HSLhsl(266, 97%, 76%)
HSVhsv(266, 46%, 99%)
CMYKcmyk(26.5%, 46.2%, 0%, 0.8%)
CIE-LABlab(65.86, 41.94, -51.46)
CIE-LCHlch(65.86, 66.38, 309.18°)
OKLaboklab(72.28% 0.0903 -0.1443)
OKLCHoklch(72.28% 0.17 302)
XYZxyz(46.7795, 35.1392, 97.2275)
Luminance0.3514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA88FD #CBFD88
analogous
#8891FD #BA88FD #F588FD
triadic
#BA88FD #FDBA88 #88FDBA
tetradic
#BA88FD #FD8891 #CBFD88 #88FDF5
square
#BA88FD #FD8891 #CBFD88 #88FDF5
split-complementary
#BA88FD #FDF588 #91FD88
monochromatic
#7410FB #974CFC #BA88FD #DDC4FE #EEE1FE

Accessibility & contrast

On white

2.62
#BA88FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#BA88FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA88FD
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA88FD#FFFFFF#000000##000000
##BA88FD1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#72A0FA
Tritanopia (blue-blind)
#AE9DB7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ba88fd;
/* rgb */ color: rgb(186, 136, 253);
/* oklch */ color: oklch(72.3% 0.170 302.0);
Tailwind
colors: {
  custom: {
    50: '#d1abfe',
    500: '#ba88fd',
    950: '#000000',
  },
}
SCSS
$custom: #ba88fd;
$custom-light: #d1abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba88fd",
  "rgb": {
    "r": 186,
    "g": 136,
    "b": 253
  },
  "hsl": {
    "h": 265.641,
    "s": 96.694,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72281,
    "c": 0.1702,
    "h": 302
  },
  "luminance": 0.35139
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA88FD

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

Preview Lab → · Contrast checker → · Palette generator →

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