#BA5EE7#BA5EE7

#BA5EE7 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 64.8% C 0.209 H 313.0°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#BA5EE7
RGBrgb(186, 94, 231)
HSLhsl(280, 74%, 64%)
HSVhsv(280, 59%, 91%)
CMYKcmyk(19.5%, 59.3%, 0%, 9.4%)
CIE-LABlab(56.30, 58.86, -54.46)
CIE-LCHlch(56.30, 80.19, 317.22°)
OKLaboklab(64.85% 0.1427 -0.1529)
OKLCHoklch(64.85% 0.209 313)
XYZxyz(38.6737, 24.2151, 78.2225)
Luminance0.2421 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EE7 #8BE75E
analogous
#755EE7 #BA5EE7 #E75ECF
triadic
#BA5EE7 #E7BA5E #5EE7BA
tetradic
#BA5EE7 #E7755E #8BE75E #5ECFE7
square
#BA5EE7 #E7755E #8BE75E #5ECFE7
split-complementary
#BA5EE7 #CFE75E #5EE775
monochromatic
#7F1AB0 #A329DF #BA5EE7 #D193EF #E8C9F7

Accessibility & contrast

On white

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

On black

5.84
#BA5EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EE7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EE7#FFFFFF#000000##000000
##BA5EE71.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F82EB
Deuteranopia (green-blind)
#5789E4
Tritanopia (blue-blind)
#B6779A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba5ee7;
/* rgb */ color: rgb(186, 94, 231);
/* oklch */ color: oklch(64.8% 0.209 313.0);
Tailwind
colors: {
  custom: {
    50: '#d290ef',
    500: '#ba5ee7',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ee7;
$custom-light: #d290ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ee7",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 280.292,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64848,
    "c": 0.20916,
    "h": 313
  },
  "luminance": 0.24214
}

Semantic roles & 50–950 ramp

primary
#BA5EE7
secondary
#C8E9B8
accent
#D60F51
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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