#BA5CE2#BA5CE2

#BA5CE2 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.3% C 0.207 H 314.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#BA5CE2
RGBrgb(186, 92, 226)
HSLhsl(282, 70%, 62%)
HSVhsv(282, 59%, 89%)
CMYKcmyk(17.7%, 59.3%, 0%, 11.4%)
CIE-LABlab(55.67, 58.78, -52.66)
CIE-LCHlch(55.67, 78.92, 318.14°)
OKLaboklab(64.3% 0.1451 -0.1476)
OKLCHoklch(64.3% 0.207 314.5)
XYZxyz(37.8021, 23.5855, 74.4979)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CE2 #84E25C
analogous
#775CE2 #BA5CE2 #E25CC7
triadic
#BA5CE2 #E2BA5C #5CE2BA
tetradic
#BA5CE2 #E2775C #84E25C #5CC7E2
square
#BA5CE2 #E2775C #84E25C #5CC7E2
split-complementary
#BA5CE2 #C7E25C #5CE277
monochromatic
#7D1EA6 #A428D9 #BA5CE2 #D090EB #E6C4F4

Accessibility & contrast

On white

3.67
#BA5CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#BA5CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CE2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CE2#FFFFFF#000000##000000
##BA5CE21.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3280E6
Deuteranopia (green-blind)
#5988DF
Tritanopia (blue-blind)
#B77497
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba5ce2;
/* rgb */ color: rgb(186, 92, 226);
/* oklch */ color: oklch(64.3% 0.207 314.5);
Tailwind
colors: {
  custom: {
    50: '#d28fec',
    500: '#ba5ce2',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ce2;
$custom-light: #d28fec;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ce2",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 282.09,
    "s": 69.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64298,
    "c": 0.20699,
    "h": 314.5
  },
  "luminance": 0.23584
}

Semantic roles & 50–950 ramp

primary
#BA5CE2
secondary
#C3E5B4
accent
#D2144C
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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