#BA82F9#BA82F9

#BA82F9 is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.1% C 0.175 H 304.0°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#BA82F9
RGBrgb(186, 130, 249)
HSLhsl(268, 91%, 74%)
HSVhsv(268, 48%, 98%)
CMYKcmyk(25.3%, 47.8%, 0%, 2.4%)
CIE-LABlab(64.36, 44.27, -51.64)
CIE-LCHlch(64.36, 68.02, 310.61°)
OKLaboklab(71.1% 0.0978 -0.1448)
OKLCHoklch(71.1% 0.175 304)
XYZxyz(45.3275, 33.2441, 93.6330)
Luminance0.3324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA82F9 #C1F982
analogous
#8286F9 #BA82F9 #F582F9
triadic
#BA82F9 #F9BA82 #82F9BA
tetradic
#BA82F9 #F98286 #C1F982 #82F9F5
square
#BA82F9 #F98286 #C1F982 #82F9F5
split-complementary
#BA82F9 #F9F582 #86F982
monochromatic
#7A0DF3 #9A48F6 #BA82F9 #DABCFC #EFE2FE

Accessibility & contrast

On white

2.75
#BA82F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#BA82F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA82F9
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA82F9#FFFFFF#000000##000000
##BA82F91.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFD
Deuteranopia (green-blind)
#6E9CF6
Tritanopia (blue-blind)
#AF97B2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba82f9;
/* rgb */ color: rgb(186, 130, 249);
/* oklch */ color: oklch(71.1% 0.175 304.0);
Tailwind
colors: {
  custom: {
    50: '#d1a7fc',
    500: '#ba82f9',
    950: '#000000',
  },
}
SCSS
$custom: #ba82f9;
$custom-light: #d1a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba82f9",
  "rgb": {
    "r": 186,
    "g": 130,
    "b": 249
  },
  "hsl": {
    "h": 268.235,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71096,
    "c": 0.17469,
    "h": 304
  },
  "luminance": 0.33244
}

Semantic roles & 50–950 ramp

primary
#BA82F9
secondary
#E6F6D5
accent
#E6007A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BA82F9

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

Preview Lab → · Contrast checker → · Palette generator →

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