#BA89FD#BA89FD

#BA89FD is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.4% C 0.169 H 301.8°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#BA89FD
RGBrgb(186, 137, 253)
HSLhsl(265, 97%, 76%)
HSVhsv(265, 46%, 99%)
CMYKcmyk(26.5%, 45.8%, 0%, 0.8%)
CIE-LABlab(66.08, 41.39, -51.11)
CIE-LCHlch(66.08, 65.77, 309.00°)
OKLaboklab(72.45% 0.089 -0.1432)
OKLCHoklch(72.45% 0.169 301.8)
XYZxyz(46.9210, 35.4222, 97.2747)
Luminance0.3542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA89FD #CCFD89
analogous
#8992FD #BA89FD #F489FD
triadic
#BA89FD #FDBA89 #89FDBA
tetradic
#BA89FD #FD8992 #CCFD89 #89FDF4
square
#BA89FD #FD8992 #CCFD89 #89FDF4
split-complementary
#BA89FD #FDF489 #92FD89
monochromatic
#7411FB #974DFC #BA89FD #DDC5FE #EDE1FE

Accessibility & contrast

On white

2.60
#BA89FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#BA89FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA89FD
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA89FD#FFFFFF#000000##000000
##BA89FD1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#73A0FA
Tritanopia (blue-blind)
#AE9DB7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ba89fd;
/* rgb */ color: rgb(186, 137, 253);
/* oklch */ color: oklch(72.4% 0.169 301.8);
Tailwind
colors: {
  custom: {
    50: '#d1acfe',
    500: '#ba89fd',
    950: '#000000',
  },
}
SCSS
$custom: #ba89fd;
$custom-light: #d1acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba89fd",
  "rgb": {
    "r": 186,
    "g": 137,
    "b": 253
  },
  "hsl": {
    "h": 265.345,
    "s": 96.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72445,
    "c": 0.16864,
    "h": 301.8
  },
  "luminance": 0.35422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA89FD

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

Preview Lab → · Contrast checker → · Palette generator →

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