#BA92FA#BA92FA

#BA92FA is a light, vivid violet. Relative luminance 0.379; OKLCH L 73.8% C 0.151 H 300.5°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#BA92FA
RGBrgb(186, 146, 250)
HSLhsl(263, 91%, 78%)
HSVhsv(263, 42%, 98%)
CMYKcmyk(25.6%, 41.6%, 0%, 2%)
CIE-LABlab(67.95, 35.73, -46.52)
CIE-LCHlch(67.95, 58.66, 307.52°)
OKLaboklab(73.8% 0.0765 -0.1299)
OKLCHoklch(73.8% 0.151 300.5)
XYZxyz(47.7800, 37.8988, 95.2219)
Luminance0.3790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA92FA #D2FA92
analogous
#929EFA #BA92FA #EE92FA
triadic
#BA92FA #FABA92 #92FABA
tetradic
#BA92FA #FA929E #D2FA92 #92FAEE
square
#BA92FA #FA929E #D2FA92 #92FAEE
split-complementary
#BA92FA #FAEE92 #9EFA92
monochromatic
#701DF5 #9557F7 #BA92FA #DFCDFD #ECE2FE

Accessibility & contrast

On white

2.45
#BA92FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#BA92FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA92FA
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA92FA#FFFFFF#000000##000000
##BA92FA1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FE
Deuteranopia (green-blind)
#7EA5F7
Tritanopia (blue-blind)
#AEA4BA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ba92fa;
/* rgb */ color: rgb(186, 146, 250);
/* oklch */ color: oklch(73.8% 0.151 300.5);
Tailwind
colors: {
  custom: {
    50: '#d1b2fc',
    500: '#ba92fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba92fa;
$custom-light: #d1b2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba92fa",
  "rgb": {
    "r": 186,
    "g": 146,
    "b": 250
  },
  "hsl": {
    "h": 263.077,
    "s": 91.228,
    "l": 77.647
  },
  "oklch": {
    "l": 0.73804,
    "c": 0.15078,
    "h": 300.5
  },
  "luminance": 0.37899
}

Semantic roles & 50–950 ramp

primary
#BA92FA
secondary
#E9F6D5
accent
#E6008D
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BA92FA

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

Preview Lab → · Contrast checker → · Palette generator →

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