#BA83EE#BA83EE

#BA83EE is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.7% C 0.160 H 306.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#BA83EE
RGBrgb(186, 131, 238)
HSLhsl(271, 76%, 72%)
HSVhsv(271, 45%, 93%)
CMYKcmyk(21.8%, 45%, 0%, 6.7%)
CIE-LABlab(64.04, 41.21, -46.09)
CIE-LCHlch(64.04, 61.83, 311.80°)
OKLaboklab(70.68% 0.095 -0.1286)
OKLCHoklch(70.68% 0.16 306.5)
XYZxyz(43.7955, 32.8451, 84.9049)
Luminance0.3285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA83EE #B7EE83
analogous
#8483EE #BA83EE #EE83ED
triadic
#BA83EE #EEBA83 #83EEBA
tetradic
#BA83EE #EE8483 #B7EE83 #83EDEE
square
#BA83EE #EE8483 #B7EE83 #83EDEE
split-complementary
#BA83EE #EDEE83 #83EE84
monochromatic
#7E1ED9 #9C4DE7 #BA83EE #D8B9F5 #F0E4FB

Accessibility & contrast

On white

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

On black

7.57
#BA83EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA83EE
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA83EE#FFFFFF#000000##000000
##BA83EE1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F2
Deuteranopia (green-blind)
#769CEB
Tritanopia (blue-blind)
#B295AD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ba83ee;
/* rgb */ color: rgb(186, 131, 238);
/* oklch */ color: oklch(70.7% 0.160 306.5);
Tailwind
colors: {
  custom: {
    50: '#d1a8f4',
    500: '#ba83ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba83ee;
$custom-light: #d1a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba83ee",
  "rgb": {
    "r": 186,
    "g": 131,
    "b": 238
  },
  "hsl": {
    "h": 270.841,
    "s": 75.887,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70679,
    "c": 0.15993,
    "h": 306.5
  },
  "luminance": 0.32845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA83EE

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

Preview Lab → · Contrast checker → · Palette generator →

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