#BA59F6#BA59F6

#BA59F6 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 65.1% C 0.231 H 309.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#BA59F6
RGBrgb(186, 89, 246)
HSLhsl(277, 90%, 66%)
HSVhsv(277, 64%, 96%)
CMYKcmyk(24.4%, 63.8%, 0%, 3.5%)
CIE-LABlab(56.33, 64.36, -62.80)
CIE-LCHlch(56.33, 89.92, 315.70°)
OKLaboklab(65.15% 0.1482 -0.1773)
OKLCHoklch(65.15% 0.231 309.9)
XYZxyz(40.4534, 24.2385, 89.7183)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59F6 #95F659
analogous
#6B59F6 #BA59F6 #F659E3
triadic
#BA59F6 #F6BA59 #59F6BA
tetradic
#BA59F6 #F66B59 #95F659 #59E3F6
square
#BA59F6 #F66B59 #95F659 #59E3F6
split-complementary
#BA59F6 #E3F659 #59F66B
monochromatic
#810BCA #A21FF3 #BA59F6 #D293F9 #EACDFC

Accessibility & contrast

On white

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

On black

5.85
#BA59F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59F6
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59F6#FFFFFF#000000##000000
##BA59F61.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FB
Deuteranopia (green-blind)
#4389F2
Tritanopia (blue-blind)
#B279A0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba59f6;
/* rgb */ color: rgb(186, 89, 246);
/* oklch */ color: oklch(65.1% 0.231 309.9);
Tailwind
colors: {
  custom: {
    50: '#d38efa',
    500: '#ba59f6',
    950: '#000000',
  },
}
SCSS
$custom: #ba59f6;
$custom-light: #d38efa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59f6",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 246
  },
  "hsl": {
    "h": 277.07,
    "s": 89.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65147,
    "c": 0.23107,
    "h": 309.9
  },
  "luminance": 0.24238
}

Semantic roles & 50–950 ramp

primary
#BA59F6
secondary
#CFF0BB
accent
#E60058
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BA59F6

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

Preview Lab → · Contrast checker → · Palette generator →

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