#BA5BE8#BA5BE8

#BA5BE8 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.5% C 0.214 H 313.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#BA5BE8
RGBrgb(186, 91, 232)
HSLhsl(280, 75%, 63%)
HSVhsv(280, 61%, 91%)
CMYKcmyk(19.8%, 60.8%, 0%, 9%)
CIE-LABlab(55.84, 60.49, -55.77)
CIE-LCHlch(55.84, 82.28, 317.32°)
OKLaboklab(64.53% 0.1464 -0.1567)
OKLCHoklch(64.53% 0.214 313)
XYZxyz(38.5537, 23.7485, 78.8813)
Luminance0.2375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5BE8 #89E85B
analogous
#735BE8 #BA5BE8 #E85BCF
triadic
#BA5BE8 #E8BA5B #5BE8BA
tetradic
#BA5BE8 #E8735B #89E85B #5BCFE8
square
#BA5BE8 #E8735B #89E85B #5BCFE8
split-complementary
#BA5BE8 #CFE85B #5BE873
monochromatic
#7F19B0 #A325E0 #BA5BE8 #D191F0 #E7C6F7

Accessibility & contrast

On white

3.65
#BA5BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#BA5BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5BE8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5BE8#FFFFFF#000000##000000
##BA5BE81.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2681EC
Deuteranopia (green-blind)
#5388E5
Tritanopia (blue-blind)
#B57599
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba5be8;
/* rgb */ color: rgb(186, 91, 232);
/* oklch */ color: oklch(64.5% 0.214 313.0);
Tailwind
colors: {
  custom: {
    50: '#d28ef0',
    500: '#ba5be8',
    950: '#000000',
  },
}
SCSS
$custom: #ba5be8;
$custom-light: #d28ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5be8",
  "rgb": {
    "r": 186,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 280.426,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64527,
    "c": 0.21441,
    "h": 313
  },
  "luminance": 0.23747
}

Semantic roles & 50–950 ramp

primary
#BA5BE8
secondary
#C7E9B6
accent
#D80E50
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA5BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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