#BA82FD#BA82FD

#BA82FD is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.3% C 0.179 H 303.2°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#BA82FD
RGBrgb(186, 130, 253)
HSLhsl(267, 97%, 75%)
HSVhsv(267, 49%, 99%)
CMYKcmyk(26.5%, 48.6%, 0%, 0.8%)
CIE-LABlab(64.56, 45.20, -53.51)
CIE-LCHlch(64.56, 70.05, 310.19°)
OKLaboklab(71.31% 0.0982 -0.1502)
OKLCHoklch(71.31% 0.179 303.2)
XYZxyz(45.9581, 33.4963, 96.9537)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA82FD #C5FD82
analogous
#8288FD #BA82FD #F782FD
triadic
#BA82FD #FDBA82 #82FDBA
tetradic
#BA82FD #FD8288 #C5FD82 #82FDF7
square
#BA82FD #FD8288 #C5FD82 #82FDF7
split-complementary
#BA82FD #FDF782 #88FD82
monochromatic
#770AFB #9946FC #BA82FD #DBBEFE #EEE1FF

Accessibility & contrast

On white

2.73
#BA82FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#BA82FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA82FD
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA82FD#FFFFFF#000000##000000
##BA82FD1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#6C9CFA
Tritanopia (blue-blind)
#AE98B4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ba82fd;
/* rgb */ color: rgb(186, 130, 253);
/* oklch */ color: oklch(71.3% 0.179 303.2);
Tailwind
colors: {
  custom: {
    50: '#d1a7fe',
    500: '#ba82fd',
    950: '#000000',
  },
}
SCSS
$custom: #ba82fd;
$custom-light: #d1a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba82fd",
  "rgb": {
    "r": 186,
    "g": 130,
    "b": 253
  },
  "hsl": {
    "h": 267.317,
    "s": 96.85,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71313,
    "c": 0.17947,
    "h": 303.2
  },
  "luminance": 0.33496
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA82FD

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

Preview Lab → · Contrast checker → · Palette generator →

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