#BA5FC0#BA5FC0

#BA5FC0 is a light, vivid purple. Relative luminance 0.224; OKLCH L 62.9% C 0.169 H 325.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#BA5FC0
RGBrgb(186, 95, 192)
HSLhsl(296, 43%, 56%)
HSVhsv(296, 51%, 75%)
CMYKcmyk(3.1%, 50.5%, 0%, 24.7%)
CIE-LABlab(54.48, 50.63, -35.22)
CIE-LCHlch(54.48, 61.68, 325.18°)
OKLaboklab(62.86% 0.1385 -0.097)
OKLCHoklch(62.86% 0.169 325)
XYZxyz(33.8555, 22.4310, 52.4053)
Luminance0.2243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5FC0 #65C05F
analogous
#8A5FC0 #BA5FC0 #C05F96
triadic
#BA5FC0 #C0BA5F #5FC0BA
tetradic
#BA5FC0 #C08A5F #65C05F #5F96C0
square
#BA5FC0 #C08A5F #65C05F #5F96C0
split-complementary
#BA5FC0 #96C05F #5FC08A
monochromatic
#722F76 #9C40A2 #BA5FC0 #CD8BD1 #E0B7E3

Accessibility & contrast

On white

3.83
#BA5FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#BA5FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5FC0
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5FC0#FFFFFF#000000##000000
##BA5FC01.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#537BC3
Deuteranopia (green-blind)
#6F86BD
Tritanopia (blue-blind)
#BE6B87
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba5fc0;
/* rgb */ color: rgb(186, 95, 192);
/* oklch */ color: oklch(62.9% 0.169 325.0);
Tailwind
colors: {
  custom: {
    50: '#d190d3',
    500: '#ba5fc0',
    950: '#000000',
  },
}
SCSS
$custom: #ba5fc0;
$custom-light: #d190d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5fc0",
  "rgb": {
    "r": 186,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 296.289,
    "s": 43.498,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62863,
    "c": 0.16909,
    "h": 325
  },
  "luminance": 0.22429
}

Semantic roles & 50–950 ramp

primary
#BA5FC0
secondary
#ACD1A9
accent
#D3555C
background
#FDF9FD
surface
#FAF1FA
border
#D3CBD3
text
#140D14
muted
#837E83

Preview Lab

Preview with #BA5FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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