#BA59FF#BA59FF

#BA59FF is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.7% C 0.240 H 307.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#BA59FF
RGBrgb(186, 89, 255)
HSLhsl(275, 100%, 67%)
HSVhsv(275, 65%, 100%)
CMYKcmyk(27.1%, 65.1%, 0%, 0%)
CIE-LABlab(56.88, 66.28, -66.89)
CIE-LCHlch(56.88, 94.17, 314.74°)
OKLaboklab(65.73% 0.1476 -0.1893)
OKLCHoklch(65.73% 0.24 307.9)
XYZxyz(41.8684, 24.8045, 97.1705)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59FF #9EFF59
analogous
#6759FF #BA59FF #FF59F1
triadic
#BA59FF #FFBA59 #59FFBA
tetradic
#BA59FF #FF6759 #9EFF59 #59F1FF
square
#BA59FF #FF6759 #9EFF59 #59F1FF
split-complementary
#BA59FF #F1FF59 #59FF67
monochromatic
#8100DE #A11CFF #BA59FF #D396FF #EDD3FF

Accessibility & contrast

On white

3.52
#BA59FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#BA59FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59FF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59FF#FFFFFF#000000##000000
##BA59FF1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#3789FB
Tritanopia (blue-blind)
#AF7CA5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba59ff;
/* rgb */ color: rgb(186, 89, 255);
/* oklch */ color: oklch(65.7% 0.240 307.9);
Tailwind
colors: {
  custom: {
    50: '#d38eff',
    500: '#ba59ff',
    950: '#000000',
  },
}
SCSS
$custom: #ba59ff;
$custom-light: #d38eff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59ff",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 255
  },
  "hsl": {
    "h": 275.06,
    "s": 100,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65727,
    "c": 0.24002,
    "h": 307.9
  },
  "luminance": 0.24804
}

Semantic roles & 50–950 ramp

primary
#BA59FF
secondary
#D6F4C0
accent
#E6005F
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BA59FF

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

Preview Lab → · Contrast checker → · Palette generator →

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