#BA5BF0#BA5BF0

#BA5BF0 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 65.0% C 0.222 H 311.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#BA5BF0
RGBrgb(186, 91, 240)
HSLhsl(278, 83%, 65%)
HSVhsv(278, 62%, 94%)
CMYKcmyk(22.5%, 62.1%, 0%, 5.9%)
CIE-LABlab(56.30, 62.16, -59.50)
CIE-LCHlch(56.30, 86.05, 316.25°)
OKLaboklab(65.01% 0.1462 -0.1676)
OKLCHoklch(65.01% 0.222 311.1)
XYZxyz(39.7160, 24.2134, 85.0027)
Luminance0.2421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5BF0 #91F05B
analogous
#705BF0 #BA5BF0 #F05BDB
triadic
#BA5BF0 #F0BA5B #5BF0BA
tetradic
#BA5BF0 #F0705B #91F05B #5BDBF0
square
#BA5BF0 #F0705B #91F05B #5BDBF0
split-complementary
#BA5BF0 #DBF05B #5BF070
monochromatic
#8011BF #A223EB #BA5BF0 #D293F5 #E9CBFA

Accessibility & contrast

On white

3.59
#BA5BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#BA5BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5BF0
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5BF0#FFFFFF#000000##000000
##BA5BF01.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1382F5
Deuteranopia (green-blind)
#4C89ED
Tritanopia (blue-blind)
#B3789D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba5bf0;
/* rgb */ color: rgb(186, 91, 240);
/* oklch */ color: oklch(65.0% 0.222 311.1);
Tailwind
colors: {
  custom: {
    50: '#d28ff6',
    500: '#ba5bf0',
    950: '#000000',
  },
}
SCSS
$custom: #ba5bf0;
$custom-light: #d28ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5bf0",
  "rgb": {
    "r": 186,
    "g": 91,
    "b": 240
  },
  "hsl": {
    "h": 278.255,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65014,
    "c": 0.22241,
    "h": 311.1
  },
  "luminance": 0.24213
}

Semantic roles & 50–950 ramp

primary
#BA5BF0
secondary
#CCEDBA
accent
#E00655
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#150D17
muted
#837E85

Preview Lab

Preview with #BA5BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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