#BA5CC2#BA5CC2

#BA5CC2 is a light, vivid purple. Relative luminance 0.220; OKLCH L 62.6% C 0.176 H 324.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#BA5CC2
RGBrgb(186, 92, 194)
HSLhsl(295, 46%, 56%)
HSVhsv(295, 53%, 76%)
CMYKcmyk(4.1%, 52.6%, 0%, 23.9%)
CIE-LABlab(54.02, 52.49, -37.09)
CIE-LCHlch(54.02, 64.27, 324.75°)
OKLaboklab(62.55% 0.1429 -0.1024)
OKLCHoklch(62.55% 0.176 324.4)
XYZxyz(33.8136, 21.9902, 53.4919)
Luminance0.2199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CC2 #64C25C
analogous
#875CC2 #BA5CC2 #C25C97
triadic
#BA5CC2 #C2BA5C #5CC2BA
tetradic
#BA5CC2 #C2875C #64C25C #5C97C2
square
#BA5CC2 #C2875C #64C25C #5C97C2
split-complementary
#BA5CC2 #97C25C #5CC287
monochromatic
#712D77 #9C3DA4 #BA5CC2 #CD89D3 #E0B5E3

Accessibility & contrast

On white

3.89
#BA5CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#BA5CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CC2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CC2#FFFFFF#000000##000000
##BA5CC21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7AC5
Deuteranopia (green-blind)
#6C85BF
Tritanopia (blue-blind)
#BD6986
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba5cc2;
/* rgb */ color: rgb(186, 92, 194);
/* oklch */ color: oklch(62.6% 0.176 324.4);
Tailwind
colors: {
  custom: {
    50: '#d18ed5',
    500: '#ba5cc2',
    950: '#000000',
  },
}
SCSS
$custom: #ba5cc2;
$custom-light: #d18ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5cc2",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 295.294,
    "s": 45.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62551,
    "c": 0.17578,
    "h": 324.4
  },
  "luminance": 0.21988
}

Semantic roles & 50–950 ramp

primary
#BA5CC2
secondary
#ABD2A8
accent
#D5535D
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140D14
muted
#837D83

Preview Lab

Preview with #BA5CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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