#BA59E7#BA59E7

#BA59E7 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.2% C 0.216 H 313.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#BA59E7
RGBrgb(186, 89, 231)
HSLhsl(281, 75%, 63%)
HSVhsv(281, 61%, 91%)
CMYKcmyk(19.5%, 61.5%, 0%, 9.4%)
CIE-LABlab(55.44, 61.22, -55.85)
CIE-LCHlch(55.44, 82.86, 317.62°)
OKLaboklab(64.22% 0.1487 -0.1569)
OKLCHoklch(64.22% 0.216 313.5)
XYZxyz(38.2434, 23.3545, 78.0791)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59E7 #86E759
analogous
#7359E7 #BA59E7 #E759CD
triadic
#BA59E7 #E7BA59 #59E7BA
tetradic
#BA59E7 #E77359 #86E759 #59CDE7
square
#BA59E7 #E77359 #86E759 #59CDE7
split-complementary
#BA59E7 #CDE759 #59E773
monochromatic
#7E19AD #A424DF #BA59E7 #D08EEF #E6C4F6

Accessibility & contrast

On white

3.70
#BA59E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#BA59E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59E7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59E7#FFFFFF#000000##000000
##BA59E71.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2280EB
Deuteranopia (green-blind)
#5287E4
Tritanopia (blue-blind)
#B67398
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba59e7;
/* rgb */ color: rgb(186, 89, 231);
/* oklch */ color: oklch(64.2% 0.216 313.5);
Tailwind
colors: {
  custom: {
    50: '#d28def',
    500: '#ba59e7',
    950: '#000000',
  },
}
SCSS
$custom: #ba59e7;
$custom-light: #d28def;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59e7",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 280.986,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64218,
    "c": 0.21618,
    "h": 313.5
  },
  "luminance": 0.23353
}

Semantic roles & 50–950 ramp

primary
#BA59E7
secondary
#C4E8B4
accent
#D70F4E
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D16
muted
#837D84

Preview Lab

Preview with #BA59E7

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

Preview Lab → · Contrast checker → · Palette generator →

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