#BA8FF6#BA8FF6

#BA8FF6 is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.1% C 0.150 H 302.1°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#BA8FF6
RGBrgb(186, 143, 246)
HSLhsl(265, 85%, 76%)
HSVhsv(265, 42%, 96%)
CMYKcmyk(24.4%, 41.9%, 0%, 3.5%)
CIE-LABlab(67.08, 36.45, -45.70)
CIE-LCHlch(67.08, 58.46, 308.58°)
OKLaboklab(73.09% 0.0799 -0.1275)
OKLCHoklch(73.09% 0.15 302.1)
XYZxyz(46.7031, 36.7378, 91.8016)
Luminance0.3674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8FF6 #CBF68F
analogous
#8F98F6 #BA8FF6 #EE8FF6
triadic
#BA8FF6 #F6BA8F #8FF6BA
tetradic
#BA8FF6 #F68F98 #CBF68F #8FF6EE
square
#BA8FF6 #F68F98 #CBF68F #8FF6EE
split-complementary
#BA8FF6 #F6EE8F #98F68F
monochromatic
#741EED #9756F1 #BA8FF6 #DDC8FB #EEE3FD

Accessibility & contrast

On white

2.52
#BA8FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#BA8FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8FF6
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8FF6#FFFFFF#000000##000000
##BA8FF61.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A2FA
Deuteranopia (green-blind)
#7DA3F3
Tritanopia (blue-blind)
#AFA0B7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ba8ff6;
/* rgb */ color: rgb(186, 143, 246);
/* oklch */ color: oklch(73.1% 0.150 302.1);
Tailwind
colors: {
  custom: {
    50: '#d1b0f9',
    500: '#ba8ff6',
    950: '#000000',
  },
}
SCSS
$custom: #ba8ff6;
$custom-light: #d1b0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8ff6",
  "rgb": {
    "r": 186,
    "g": 143,
    "b": 246
  },
  "hsl": {
    "h": 265.049,
    "s": 85.124,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7309,
    "c": 0.15049,
    "h": 302.1
  },
  "luminance": 0.36738
}

Semantic roles & 50–950 ramp

primary
#BA8FF6
secondary
#E8F5D6
accent
#E20485
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141017
muted
#837F85

Preview Lab

Preview with #BA8FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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