#BA5CC1#BA5CC1

#BA5CC1 is a light, vivid purple. Relative luminance 0.219; OKLCH L 62.5% C 0.175 H 324.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#BA5CC1
RGBrgb(186, 92, 193)
HSLhsl(296, 45%, 56%)
HSVhsv(296, 52%, 76%)
CMYKcmyk(3.6%, 52.3%, 0%, 24.3%)
CIE-LABlab(53.97, 52.30, -36.59)
CIE-LCHlch(53.97, 63.83, 325.02°)
OKLaboklab(62.5% 0.1428 -0.1009)
OKLCHoklch(62.5% 0.175 324.7)
XYZxyz(33.7017, 21.9454, 52.9024)
Luminance0.2194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CC1 #63C15C
analogous
#875CC1 #BA5CC1 #C15C95
triadic
#BA5CC1 #C1BA5C #5CC1BA
tetradic
#BA5CC1 #C1875C #63C15C #5C95C1
square
#BA5CC1 #C1875C #63C15C #5C95C1
split-complementary
#BA5CC1 #95C15C #5CC187
monochromatic
#712D76 #9B3EA2 #BA5CC1 #CD88D2 #E0B5E3

Accessibility & contrast

On white

3.90
#BA5CC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#BA5CC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CC1
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CC1#FFFFFF#000000##000000
##BA5CC11.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7AC4
Deuteranopia (green-blind)
#6C85BE
Tritanopia (blue-blind)
#BE6886
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba5cc1;
/* rgb */ color: rgb(186, 92, 193);
/* oklch */ color: oklch(62.5% 0.175 324.7);
Tailwind
colors: {
  custom: {
    50: '#d18ed4',
    500: '#ba5cc1',
    950: '#000000',
  },
}
SCSS
$custom: #ba5cc1;
$custom-light: #d18ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5cc1",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 193
  },
  "hsl": {
    "h": 295.842,
    "s": 44.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.625,
    "c": 0.17484,
    "h": 324.7
  },
  "luminance": 0.21944
}

Semantic roles & 50–950 ramp

primary
#BA5CC1
secondary
#AAD1A7
accent
#D5535C
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140D14
muted
#837D83

Preview Lab

Preview with #BA5CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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