#BA5DE1#BA5DE1

#BA5DE1 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.4% C 0.205 H 314.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#BA5DE1
RGBrgb(186, 93, 225)
HSLhsl(282, 69%, 62%)
HSVhsv(282, 59%, 88%)
CMYKcmyk(17.3%, 58.7%, 0%, 11.8%)
CIE-LABlab(55.79, 58.10, -51.91)
CIE-LCHlch(55.79, 77.91, 318.22°)
OKLaboklab(64.37% 0.1439 -0.1454)
OKLCHoklch(64.37% 0.205 314.7)
XYZxyz(37.7525, 23.7052, 73.8064)
Luminance0.2370 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5DE1 #84E15D
analogous
#785DE1 #BA5DE1 #E15DC6
triadic
#BA5DE1 #E1BA5D #5DE1BA
tetradic
#BA5DE1 #E1785D #84E15D #5DC6E1
square
#BA5DE1 #E1785D #84E15D #5DC6E1
split-complementary
#BA5DE1 #C6E15D #5DE178
monochromatic
#7D1FA5 #A429D7 #BA5DE1 #D091EB #E6C4F4

Accessibility & contrast

On white

3.66
#BA5DE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#BA5DE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5DE1
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5DE1#FFFFFF#000000##000000
##BA5DE11.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3580E5
Deuteranopia (green-blind)
#5A88DE
Tritanopia (blue-blind)
#B77496
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba5de1;
/* rgb */ color: rgb(186, 93, 225);
/* oklch */ color: oklch(64.4% 0.205 314.7);
Tailwind
colors: {
  custom: {
    50: '#d28feb',
    500: '#ba5de1',
    950: '#000000',
  },
}
SCSS
$custom: #ba5de1;
$custom-light: #d28feb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5de1",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 225
  },
  "hsl": {
    "h": 282.273,
    "s": 68.75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64368,
    "c": 0.20455,
    "h": 314.7
  },
  "luminance": 0.23704
}

Semantic roles & 50–950 ramp

primary
#BA5DE1
secondary
#C3E5B5
accent
#D1154C
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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