#BA83FF#BA83FF

#BA83FF is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.6% C 0.180 H 302.6°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#BA83FF
RGBrgb(186, 131, 255)
HSLhsl(267, 100%, 76%)
HSVhsv(267, 49%, 100%)
CMYKcmyk(27.1%, 48.6%, 0%, 0%)
CIE-LABlab(64.88, 45.13, -54.11)
CIE-LCHlch(64.88, 70.46, 309.83°)
OKLaboklab(71.58% 0.0971 -0.152)
OKLCHoklch(71.58% 0.18 302.6)
XYZxyz(46.4120, 33.8917, 98.6850)
Luminance0.3389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA83FF #C8FF83
analogous
#838AFF #BA83FF #F883FF
triadic
#BA83FF #FFBA83 #83FFBA
tetradic
#BA83FF #FF838A #C8FF83 #83FFF8
square
#BA83FF #FF838A #C8FF83 #83FFF8
split-complementary
#BA83FF #FFF883 #8AFF83
monochromatic
#7609FF #9846FF #BA83FF #DCC0FF #EEE0FF

Accessibility & contrast

On white

2.70
#BA83FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#BA83FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA83FF
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA83FF#FFFFFF#000000##000000
##BA83FF1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#6B9DFC
Tritanopia (blue-blind)
#AD99B5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ba83ff;
/* rgb */ color: rgb(186, 131, 255);
/* oklch */ color: oklch(71.6% 0.180 302.6);
Tailwind
colors: {
  custom: {
    50: '#d1a8ff',
    500: '#ba83ff',
    950: '#000000',
  },
}
SCSS
$custom: #ba83ff;
$custom-light: #d1a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba83ff",
  "rgb": {
    "r": 186,
    "g": 131,
    "b": 255
  },
  "hsl": {
    "h": 266.613,
    "s": 100,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71582,
    "c": 0.18034,
    "h": 302.6
  },
  "luminance": 0.33892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA83FF

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

Preview Lab → · Contrast checker → · Palette generator →

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