#BA5FF0#BA5FF0

#BA5FF0 is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.5% C 0.217 H 310.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#BA5FF0
RGBrgb(186, 95, 240)
HSLhsl(278, 83%, 66%)
HSVhsv(278, 60%, 94%)
CMYKcmyk(22.5%, 60.4%, 0%, 5.9%)
CIE-LABlab(56.99, 60.28, -58.39)
CIE-LCHlch(56.99, 83.92, 315.91°)
OKLaboklab(65.52% 0.1415 -0.1644)
OKLCHoklch(65.52% 0.217 310.7)
XYZxyz(40.0671, 24.9156, 85.1197)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5FF0 #95F05F
analogous
#715FF0 #BA5FF0 #F05FDE
triadic
#BA5FF0 #F0BA5F #5FF0BA
tetradic
#BA5FF0 #F0715F #95F05F #5FDEF0
square
#BA5FF0 #F0715F #95F05F #5FDEF0
split-complementary
#BA5FF0 #DEF05F #5FF071
monochromatic
#8112C2 #A227EB #BA5FF0 #D297F5 #EACFFA

Accessibility & contrast

On white

3.51
#BA5FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#BA5FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5FF0
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5FF0#FFFFFF#000000##000000
##BA5FF01.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2385F5
Deuteranopia (green-blind)
#508AED
Tritanopia (blue-blind)
#B37B9F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba5ff0;
/* rgb */ color: rgb(186, 95, 240);
/* oklch */ color: oklch(65.5% 0.217 310.7);
Tailwind
colors: {
  custom: {
    50: '#d291f6',
    500: '#ba5ff0',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ff0;
$custom-light: #d291f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ff0",
  "rgb": {
    "r": 186,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 277.655,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65516,
    "c": 0.21691,
    "h": 310.7
  },
  "luminance": 0.24915
}

Semantic roles & 50–950 ramp

primary
#BA5FF0
secondary
#CFEEBD
accent
#DF0657
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA5FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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