#BA5BBF#BA5BBF

#BA5BBF is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.3% C 0.175 H 325.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#BA5BBF
RGBrgb(186, 91, 191)
HSLhsl(297, 44%, 55%)
HSVhsv(297, 52%, 75%)
CMYKcmyk(2.6%, 52.4%, 0%, 25.1%)
CIE-LABlab(53.69, 52.42, -35.88)
CIE-LCHlch(53.69, 63.53, 325.61°)
OKLaboklab(62.26% 0.1439 -0.0989)
OKLCHoklch(62.26% 0.175 325.5)
XYZxyz(33.3940, 21.6846, 51.7067)
Luminance0.2168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5BBF #60BF5B
analogous
#885BBF #BA5BBF #BF5B92
triadic
#BA5BBF #BFBA5B #5BBFBA
tetradic
#BA5BBF #BF885B #60BF5B #5B92BF
square
#BA5BBF #BF885B #60BF5B #5B92BF
split-complementary
#BA5BBF #92BF5B #5BBF88
monochromatic
#6F2D73 #9A3E9F #BA5BBF #CD87D0 #DFB3E1

Accessibility & contrast

On white

3.94
#BA5BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#BA5BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5BBF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5BBF#FFFFFF#000000##000000
##BA5BBF1.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F79C2
Deuteranopia (green-blind)
#6D84BC
Tritanopia (blue-blind)
#BE6785
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba5bbf;
/* rgb */ color: rgb(186, 91, 191);
/* oklch */ color: oklch(62.3% 0.175 325.5);
Tailwind
colors: {
  custom: {
    50: '#d18dd2',
    500: '#ba5bbf',
    950: '#000000',
  },
}
SCSS
$custom: #ba5bbf;
$custom-light: #d18dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5bbf",
  "rgb": {
    "r": 186,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 297,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62264,
    "c": 0.17456,
    "h": 325.5
  },
  "luminance": 0.21683
}

Semantic roles & 50–950 ramp

primary
#BA5BBF
secondary
#A8D0A6
accent
#D4545B
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BA5BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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