#BA5EFF#BA5EFF

#BA5EFF is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.3% C 0.234 H 307.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#BA5EFF
RGBrgb(186, 94, 255)
HSLhsl(274, 100%, 68%)
HSVhsv(274, 63%, 100%)
CMYKcmyk(27.1%, 63.1%, 0%, 0%)
CIE-LABlab(57.72, 63.99, -65.55)
CIE-LCHlch(57.72, 91.61, 314.31°)
OKLaboklab(66.33% 0.1421 -0.1854)
OKLCHoklch(66.33% 0.234 307.5)
XYZxyz(42.2987, 25.6651, 97.3139)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EFF #A3FF5E
analogous
#695EFF #BA5EFF #FF5EF3
triadic
#BA5EFF #FFBA5E #5EFFBA
tetradic
#BA5EFF #FF695E #A3FF5E #5EF3FF
square
#BA5EFF #FF695E #A3FF5E #5EF3FF
split-complementary
#BA5EFF #F3FF5E #5EFF69
monochromatic
#8100E3 #A021FF #BA5EFF #D49BFF #EED8FF

Accessibility & contrast

On white

3.42
#BA5EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#BA5EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EFF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EFF#FFFFFF#000000##000000
##BA5EFF1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#3E8CFB
Tritanopia (blue-blind)
#AF7FA6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba5eff;
/* rgb */ color: rgb(186, 94, 255);
/* oklch */ color: oklch(66.3% 0.234 307.5);
Tailwind
colors: {
  custom: {
    50: '#d391ff',
    500: '#ba5eff',
    950: '#000000',
  },
}
SCSS
$custom: #ba5eff;
$custom-light: #d391ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5eff",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 255
  },
  "hsl": {
    "h": 274.286,
    "s": 100,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66328,
    "c": 0.23359,
    "h": 307.5
  },
  "luminance": 0.25665
}

Semantic roles & 50–950 ramp

primary
#BA5EFF
secondary
#D9F5C4
accent
#E60062
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BA5EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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