#BA83FD#BA83FD

#BA83FD is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.5% C 0.178 H 303.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#BA83FD
RGBrgb(186, 131, 253)
HSLhsl(267, 97%, 75%)
HSVhsv(267, 48%, 99%)
CMYKcmyk(26.5%, 48.2%, 0%, 0.8%)
CIE-LABlab(64.77, 44.66, -53.17)
CIE-LCHlch(64.77, 69.44, 310.02°)
OKLaboklab(71.47% 0.0969 -0.1492)
OKLCHoklch(71.47% 0.178 303)
XYZxyz(46.0917, 33.7636, 96.9983)
Luminance0.3376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA83FD #C6FD83
analogous
#8389FD #BA83FD #F783FD
triadic
#BA83FD #FDBA83 #83FDBA
tetradic
#BA83FD #FD8389 #C6FD83 #83FDF7
square
#BA83FD #FD8389 #C6FD83 #83FDF7
split-complementary
#BA83FD #FDF783 #89FD83
monochromatic
#770BFB #9847FC #BA83FD #DCBFFE #EEE1FF

Accessibility & contrast

On white

2.71
#BA83FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#BA83FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA83FD
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA83FD#FFFFFF#000000##000000
##BA83FD1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#6D9DFA
Tritanopia (blue-blind)
#AE99B4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ba83fd;
/* rgb */ color: rgb(186, 131, 253);
/* oklch */ color: oklch(71.5% 0.178 303.0);
Tailwind
colors: {
  custom: {
    50: '#d1a8fe',
    500: '#ba83fd',
    950: '#000000',
  },
}
SCSS
$custom: #ba83fd;
$custom-light: #d1a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba83fd",
  "rgb": {
    "r": 186,
    "g": 131,
    "b": 253
  },
  "hsl": {
    "h": 267.049,
    "s": 96.825,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71472,
    "c": 0.17794,
    "h": 303
  },
  "luminance": 0.33764
}

Semantic roles & 50–950 ramp

primary
#BA83FD
secondary
#E7F7D4
accent
#E6007E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BA83FD

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

Preview Lab → · Contrast checker → · Palette generator →

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