#BA5CE1#BA5CE1

#BA5CE1 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.2% C 0.206 H 314.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#BA5CE1
RGBrgb(186, 92, 225)
HSLhsl(282, 69%, 62%)
HSVhsv(282, 59%, 88%)
CMYKcmyk(17.3%, 59.1%, 0%, 11.8%)
CIE-LABlab(55.61, 58.57, -52.19)
CIE-LCHlch(55.61, 78.45, 318.30°)
OKLaboklab(64.24% 0.1451 -0.1462)
OKLCHoklch(64.24% 0.206 314.8)
XYZxyz(37.6653, 23.5308, 73.7774)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CE1 #83E15C
analogous
#785CE1 #BA5CE1 #E15CC6
triadic
#BA5CE1 #E1BA5C #5CE1BA
tetradic
#BA5CE1 #E1785C #83E15C #5CC6E1
square
#BA5CE1 #E1785C #83E15C #5CC6E1
split-complementary
#BA5CE1 #C6E15C #5CE178
monochromatic
#7D1EA4 #A428D7 #BA5CE1 #D090EB #E6C3F4

Accessibility & contrast

On white

3.68
#BA5CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#BA5CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CE1
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CE1#FFFFFF#000000##000000
##BA5CE11.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3380E5
Deuteranopia (green-blind)
#5988DE
Tritanopia (blue-blind)
#B77396
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba5ce1;
/* rgb */ color: rgb(186, 92, 225);
/* oklch */ color: oklch(64.2% 0.206 314.8);
Tailwind
colors: {
  custom: {
    50: '#d28feb',
    500: '#ba5ce1',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ce1;
$custom-light: #d28feb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ce1",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 225
  },
  "hsl": {
    "h": 282.406,
    "s": 68.912,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6424,
    "c": 0.206,
    "h": 314.8
  },
  "luminance": 0.2353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA5CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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