#BA59F3#BA59F3

#BA59F3 is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 65.0% C 0.228 H 310.6°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#BA59F3
RGBrgb(186, 89, 243)
HSLhsl(278, 87%, 65%)
HSVhsv(278, 63%, 95%)
CMYKcmyk(23.5%, 63.4%, 0%, 4.7%)
CIE-LABlab(56.14, 63.72, -61.42)
CIE-LCHlch(56.14, 88.51, 316.05°)
OKLaboklab(64.96% 0.1484 -0.1732)
OKLCHoklch(64.96% 0.228 310.6)
XYZxyz(39.9967, 24.0558, 87.3129)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59F3 #92F359
analogous
#6D59F3 #BA59F3 #F359DF
triadic
#BA59F3 #F3BA59 #59F3BA
tetradic
#BA59F3 #F36D59 #92F359 #59DFF3
square
#BA59F3 #F36D59 #92F359 #59DFF3
split-complementary
#BA59F3 #DFF359 #59F36D
monochromatic
#800EC3 #A220EF #BA59F3 #D292F7 #E9CBFB

Accessibility & contrast

On white

3.61
#BA59F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#BA59F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59F3
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59F3#FFFFFF#000000##000000
##BA59F31.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F8
Deuteranopia (green-blind)
#4688EF
Tritanopia (blue-blind)
#B3789E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba59f3;
/* rgb */ color: rgb(186, 89, 243);
/* oklch */ color: oklch(65.0% 0.228 310.6);
Tailwind
colors: {
  custom: {
    50: '#d38df8',
    500: '#ba59f3',
    950: '#000000',
  },
}
SCSS
$custom: #ba59f3;
$custom-light: #d38df8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59f3",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 243
  },
  "hsl": {
    "h": 277.792,
    "s": 86.517,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64958,
    "c": 0.22809,
    "h": 310.6
  },
  "luminance": 0.24055
}

Semantic roles & 50–950 ramp

primary
#BA59F3
secondary
#CDEEBA
accent
#E30256
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BA59F3

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

Preview Lab → · Contrast checker → · Palette generator →

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