#BA59FD#BA59FD

#BA59FD is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.6% C 0.238 H 308.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#BA59FD
RGBrgb(186, 89, 253)
HSLhsl(275, 98%, 67%)
HSVhsv(275, 65%, 99%)
CMYKcmyk(26.5%, 64.8%, 0%, 0.8%)
CIE-LABlab(56.76, 65.85, -65.99)
CIE-LCHlch(56.76, 93.23, 314.94°)
OKLaboklab(65.6% 0.1477 -0.1866)
OKLCHoklch(65.6% 0.238 308.4)
XYZxyz(41.5481, 24.6764, 95.4837)
Luminance0.2468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59FD #9CFD59
analogous
#6859FD #BA59FD #FD59EE
triadic
#BA59FD #FDBA59 #59FDBA
tetradic
#BA59FD #FD6859 #9CFD59 #59EEFD
square
#BA59FD #FD6859 #9CFD59 #59EEFD
split-complementary
#BA59FD #EEFD59 #59FD68
monochromatic
#8103D9 #A11DFC #BA59FD #D395FE #ECD2FE

Accessibility & contrast

On white

3.54
#BA59FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#BA59FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59FD
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59FD#FFFFFF#000000##000000
##BA59FD1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#3A89F9
Tritanopia (blue-blind)
#B07BA4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba59fd;
/* rgb */ color: rgb(186, 89, 253);
/* oklch */ color: oklch(65.6% 0.238 308.4);
Tailwind
colors: {
  custom: {
    50: '#d38eff',
    500: '#ba59fd',
    950: '#000000',
  },
}
SCSS
$custom: #ba59fd;
$custom-light: #d38eff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59fd",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 253
  },
  "hsl": {
    "h": 275.488,
    "s": 97.619,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65597,
    "c": 0.23803,
    "h": 308.4
  },
  "luminance": 0.24676
}

Semantic roles & 50–950 ramp

primary
#BA59FD
secondary
#D4F3BF
accent
#E6005E
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BA59FD

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

Preview Lab → · Contrast checker → · Palette generator →

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