#BA5CC7#BA5CC7

#BA5CC7 is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.8% C 0.181 H 322.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#BA5CC7
RGBrgb(186, 92, 199)
HSLhsl(293, 49%, 57%)
HSVhsv(293, 54%, 78%)
CMYKcmyk(6.5%, 53.8%, 0%, 22%)
CIE-LABlab(54.26, 53.43, -39.58)
CIE-LCHlch(54.26, 66.50, 323.47°)
OKLaboklab(62.81% 0.1435 -0.1095)
OKLCHoklch(62.81% 0.181 322.6)
XYZxyz(34.3846, 22.2186, 56.4992)
Luminance0.2222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CC7 #69C75C
analogous
#855CC7 #BA5CC7 #C75C9F
triadic
#BA5CC7 #C7BA5C #5CC7BA
tetradic
#BA5CC7 #C7855C #69C75C #5C9FC7
square
#BA5CC7 #C7855C #69C75C #5C9FC7
split-complementary
#BA5CC7 #9FC75C #5CC785
monochromatic
#732B7D #9D3BAB #BA5CC7 #CD8AD7 #E1B7E6

Accessibility & contrast

On white

3.86
#BA5CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#BA5CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CC7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CC7#FFFFFF#000000##000000
##BA5CC71.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7BCA
Deuteranopia (green-blind)
#6986C4
Tritanopia (blue-blind)
#BD6A89
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba5cc7;
/* rgb */ color: rgb(186, 92, 199);
/* oklch */ color: oklch(62.8% 0.181 322.6);
Tailwind
colors: {
  custom: {
    50: '#d18ed8',
    500: '#ba5cc7',
    950: '#000000',
  },
}
SCSS
$custom: #ba5cc7;
$custom-light: #d18ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5cc7",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 292.71,
    "s": 48.858,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62807,
    "c": 0.18052,
    "h": 322.6
  },
  "luminance": 0.22217
}

Semantic roles & 50–950 ramp

primary
#BA5CC7
secondary
#AFD5AA
accent
#D84F60
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140D14
muted
#837D83

Preview Lab

Preview with #BA5CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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