#BA83EF#BA83EF

#BA83EF is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.7% C 0.161 H 306.2°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#BA83EF
RGBrgb(186, 131, 239)
HSLhsl(271, 77%, 73%)
HSVhsv(271, 45%, 94%)
CMYKcmyk(22.2%, 45.2%, 0%, 6.3%)
CIE-LABlab(64.08, 41.44, -46.57)
CIE-LCHlch(64.08, 62.34, 311.66°)
OKLaboklab(70.73% 0.0952 -0.13)
OKLCHoklch(70.73% 0.161 306.2)
XYZxyz(43.9428, 32.9040, 85.6808)
Luminance0.3290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA83EF #B8EF83
analogous
#8483EF #BA83EF #EF83EE
triadic
#BA83EF #EFBA83 #83EFBA
tetradic
#BA83EF #EF8483 #B8EF83 #83EEEF
square
#BA83EF #EF8483 #B8EF83 #83EEEF
split-complementary
#BA83EF #EEEF83 #83EF84
monochromatic
#7E1CDB #9C4DE8 #BA83EF #D8B9F6 #F0E4FC

Accessibility & contrast

On white

2.77
#BA83EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#BA83EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA83EF
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA83EF#FFFFFF#000000##000000
##BA83EF1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#759CEC
Tritanopia (blue-blind)
#B295AE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ba83ef;
/* rgb */ color: rgb(186, 131, 239);
/* oklch */ color: oklch(70.7% 0.161 306.2);
Tailwind
colors: {
  custom: {
    50: '#d1a8f4',
    500: '#ba83ef',
    950: '#000000',
  },
}
SCSS
$custom: #ba83ef;
$custom-light: #d1a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba83ef",
  "rgb": {
    "r": 186,
    "g": 131,
    "b": 239
  },
  "hsl": {
    "h": 270.556,
    "s": 77.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70731,
    "c": 0.16112,
    "h": 306.2
  },
  "luminance": 0.32904
}

Semantic roles & 50–950 ramp

primary
#BA83EF
secondary
#E5F3D8
accent
#D90C71
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BA83EF

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

Preview Lab → · Contrast checker → · Palette generator →

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