#BA91FD#BA91FD

#BA91FD is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.8% C 0.156 H 300.1°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#BA91FD
RGBrgb(186, 145, 253)
HSLhsl(263, 96%, 78%)
HSVhsv(263, 43%, 99%)
CMYKcmyk(26.5%, 42.7%, 0%, 0.8%)
CIE-LABlab(67.86, 36.99, -48.30)
CIE-LCHlch(67.86, 60.83, 307.45°)
OKLaboklab(73.79% 0.0783 -0.1351)
OKLCHoklch(73.79% 0.156 300.1)
XYZxyz(48.1007, 37.7815, 97.6679)
Luminance0.3778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA91FD #D4FD91
analogous
#919EFD #BA91FD #F091FD
triadic
#BA91FD #FDBA91 #91FDBA
tetradic
#BA91FD #FD919E #D4FD91 #91FDF0
square
#BA91FD #FD919E #D4FD91 #91FDF0
split-complementary
#BA91FD #FDF091 #9EFD91
monochromatic
#6F19FB #9455FC #BA91FD #E0CDFE #ECE1FE

Accessibility & contrast

On white

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

On black

8.56
#BA91FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA91FD
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA91FD#FFFFFF#000000##000000
##BA91FD1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#7CA5FA
Tritanopia (blue-blind)
#ADA4BB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ba91fd;
/* rgb */ color: rgb(186, 145, 253);
/* oklch */ color: oklch(73.8% 0.156 300.1);
Tailwind
colors: {
  custom: {
    50: '#d1b2fe',
    500: '#ba91fd',
    950: '#000000',
  },
}
SCSS
$custom: #ba91fd;
$custom-light: #d1b2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba91fd",
  "rgb": {
    "r": 186,
    "g": 145,
    "b": 253
  },
  "hsl": {
    "h": 262.778,
    "s": 96.429,
    "l": 78.039
  },
  "oklch": {
    "l": 0.73785,
    "c": 0.15615,
    "h": 300.1
  },
  "luminance": 0.37782
}

Semantic roles & 50–950 ramp

primary
#BA91FD
secondary
#EAF7D4
accent
#E6008E
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BA91FD

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

Preview Lab → · Contrast checker → · Palette generator →

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