#BA5BF4#BA5BF4

#BA5BF4 is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 65.3% C 0.226 H 310.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#BA5BF4
RGBrgb(186, 91, 244)
HSLhsl(277, 87%, 66%)
HSVhsv(277, 63%, 96%)
CMYKcmyk(23.8%, 62.7%, 0%, 4.3%)
CIE-LABlab(56.54, 63.01, -61.35)
CIE-LCHlch(56.54, 87.94, 315.77°)
OKLaboklab(65.26% 0.1461 -0.173)
OKLCHoklch(65.26% 0.226 310.2)
XYZxyz(40.3168, 24.4537, 88.1666)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5BF4 #95F45B
analogous
#6D5BF4 #BA5BF4 #F45BE1
triadic
#BA5BF4 #F4BA5B #5BF4BA
tetradic
#BA5BF4 #F46D5B #95F45B #5BE1F4
square
#BA5BF4 #F46D5B #95F45B #5BE1F4
split-complementary
#BA5BF4 #E1F45B #5BF46D
monochromatic
#810DC7 #A222F0 #BA5BF4 #D294F8 #EACEFC

Accessibility & contrast

On white

3.57
#BA5BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#BA5BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5BF4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5BF4#FFFFFF#000000##000000
##BA5BF41.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083F9
Deuteranopia (green-blind)
#4889F0
Tritanopia (blue-blind)
#B279A0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba5bf4;
/* rgb */ color: rgb(186, 91, 244);
/* oklch */ color: oklch(65.3% 0.226 310.2);
Tailwind
colors: {
  custom: {
    50: '#d38ff8',
    500: '#ba5bf4',
    950: '#000000',
  },
}
SCSS
$custom: #ba5bf4;
$custom-light: #d38ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5bf4",
  "rgb": {
    "r": 186,
    "g": 91,
    "b": 244
  },
  "hsl": {
    "h": 277.255,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65263,
    "c": 0.22643,
    "h": 310.2
  },
  "luminance": 0.24453
}

Semantic roles & 50–950 ramp

primary
#BA5BF4
secondary
#CFEFBC
accent
#E40257
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BA5BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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