#BA59F0#BA59F0

#BA59F0 is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.8% C 0.225 H 311.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#BA59F0
RGBrgb(186, 89, 240)
HSLhsl(279, 83%, 65%)
HSVhsv(279, 63%, 94%)
CMYKcmyk(22.5%, 62.9%, 0%, 5.9%)
CIE-LABlab(55.96, 63.09, -60.04)
CIE-LCHlch(55.96, 87.09, 316.42°)
OKLaboklab(64.77% 0.1485 -0.1692)
OKLCHoklch(64.77% 0.225 311.3)
XYZxyz(39.5473, 23.8761, 84.9464)
Luminance0.2387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59F0 #8FF059
analogous
#6F59F0 #BA59F0 #F059DB
triadic
#BA59F0 #F0BA59 #59F0BA
tetradic
#BA59F0 #F06F59 #8FF059 #59DBF0
square
#BA59F0 #F06F59 #8FF059 #59DBF0
split-complementary
#BA59F0 #DBF059 #59F06F
monochromatic
#8011BD #A321EB #BA59F0 #D191F5 #E9C9FA

Accessibility & contrast

On white

3.64
#BA59F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#BA59F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59F0
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59F0#FFFFFF#000000##000000
##BA59F01.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0581F5
Deuteranopia (green-blind)
#4A88EC
Tritanopia (blue-blind)
#B3779D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba59f0;
/* rgb */ color: rgb(186, 89, 240);
/* oklch */ color: oklch(64.8% 0.225 311.3);
Tailwind
colors: {
  custom: {
    50: '#d38df6',
    500: '#ba59f0',
    950: '#000000',
  },
}
SCSS
$custom: #ba59f0;
$custom-light: #d38df6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59f0",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 240
  },
  "hsl": {
    "h": 278.543,
    "s": 83.425,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6477,
    "c": 0.2251,
    "h": 311.3
  },
  "luminance": 0.23875
}

Semantic roles & 50–950 ramp

primary
#BA59F0
secondary
#CBECB8
accent
#E00654
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#150D17
muted
#837E85

Preview Lab

Preview with #BA59F0

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

Preview Lab → · Contrast checker → · Palette generator →

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