#BA5FBF#BA5FBF

#BA5FBF is a light, vivid purple. Relative luminance 0.224; OKLCH L 62.8% C 0.168 H 325.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA5FBF
RGBrgb(186, 95, 191)
HSLhsl(297, 43%, 56%)
HSVhsv(297, 50%, 75%)
CMYKcmyk(2.6%, 50.3%, 0%, 25.1%)
CIE-LABlab(54.44, 50.45, -34.71)
CIE-LCHlch(54.44, 61.24, 325.47°)
OKLaboklab(62.81% 0.1384 -0.0955)
OKLCHoklch(62.81% 0.168 325.4)
XYZxyz(33.7451, 22.3868, 51.8237)
Luminance0.2238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5FBF #64BF5F
analogous
#8A5FBF #BA5FBF #BF5F94
triadic
#BA5FBF #BFBA5F #5FBFBA
tetradic
#BA5FBF #BF8A5F #64BF5F #5F94BF
square
#BA5FBF #BF8A5F #64BF5F #5F94BF
split-complementary
#BA5FBF #94BF5F #5FBF8A
monochromatic
#712F75 #9C40A1 #BA5FBF #CD8BD0 #E0B6E2

Accessibility & contrast

On white

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

On black

5.48
#BA5FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5FBF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5FBF#FFFFFF#000000##000000
##BA5FBF1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#547BC2
Deuteranopia (green-blind)
#6F86BC
Tritanopia (blue-blind)
#BE6A86
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba5fbf;
/* rgb */ color: rgb(186, 95, 191);
/* oklch */ color: oklch(62.8% 0.168 325.4);
Tailwind
colors: {
  custom: {
    50: '#d190d2',
    500: '#ba5fbf',
    950: '#000000',
  },
}
SCSS
$custom: #ba5fbf;
$custom-light: #d190d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5fbf",
  "rgb": {
    "r": 186,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 296.875,
    "s": 42.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62813,
    "c": 0.16815,
    "h": 325.4
  },
  "luminance": 0.22385
}

Semantic roles & 50–950 ramp

primary
#BA5FBF
secondary
#ABD1A9
accent
#D3555C
background
#FDF9FC
surface
#FAF1F9
border
#D3CBD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA5FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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