#BA55BF#BA55BF

#BA55BF is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.5% C 0.184 H 325.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BA55BF
RGBrgb(186, 85, 191)
HSLhsl(297, 45%, 54%)
HSVhsv(297, 55%, 75%)
CMYKcmyk(2.6%, 55.5%, 0%, 25.1%)
CIE-LABlab(52.62, 55.30, -37.56)
CIE-LCHlch(52.62, 66.85, 325.81°)
OKLaboklab(61.48% 0.1519 -0.1037)
OKLCHoklch(61.48% 0.184 325.7)
XYZxyz(32.9015, 20.6995, 51.5425)
Luminance0.2070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55BF #5ABF55
analogous
#8555BF #BA55BF #BF558F
triadic
#BA55BF #BFBA55 #55BFBA
tetradic
#BA55BF #BF8555 #5ABF55 #558FBF
square
#BA55BF #BF8555 #5ABF55 #558FBF
split-complementary
#BA55BF #8FBF55 #55BF85
monochromatic
#6C2A70 #973B9C #BA55BF #CC81D0 #DEAEE0

Accessibility & contrast

On white

4.09
#BA55BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#BA55BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55BF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55BF#FFFFFF#000000##000000
##BA55BF1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4775C2
Deuteranopia (green-blind)
#6882BC
Tritanopia (blue-blind)
#BE6282
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba55bf;
/* rgb */ color: rgb(186, 85, 191);
/* oklch */ color: oklch(61.5% 0.184 325.7);
Tailwind
colors: {
  custom: {
    50: '#d18ad2',
    500: '#ba55bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba55bf;
$custom-light: #d18ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55bf",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 191
  },
  "hsl": {
    "h": 297.17,
    "s": 45.299,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61477,
    "c": 0.1839,
    "h": 325.7
  },
  "luminance": 0.20698
}

Semantic roles & 50–950 ramp

primary
#BA55BF
secondary
#A3CEA1
accent
#D55359
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BA55BF

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

Preview Lab → · Contrast checker → · Palette generator →

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