#BA55BE#BA55BE

#BA55BE is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.4% C 0.183 H 326.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BA55BE
RGBrgb(186, 85, 190)
HSLhsl(298, 45%, 54%)
HSVhsv(298, 55%, 75%)
CMYKcmyk(2.1%, 55.3%, 0%, 25.5%)
CIE-LABlab(52.57, 55.12, -37.06)
CIE-LCHlch(52.57, 66.42, 326.08°)
OKLaboklab(61.43% 0.1518 -0.1022)
OKLCHoklch(61.43% 0.183 326)
XYZxyz(32.7918, 20.6557, 50.9649)
Luminance0.2065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55BE #59BE55
analogous
#8655BE #BA55BE #BE558E
triadic
#BA55BE #BEBA55 #55BEBA
tetradic
#BA55BE #BE8655 #59BE55 #558EBE
square
#BA55BE #BE8655 #59BE55 #558EBE
split-complementary
#BA55BE #8EBE55 #55BE86
monochromatic
#6C2A6E #973B9B #BA55BE #CC81CF #DEAEE0

Accessibility & contrast

On white

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

On black

5.13
#BA55BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55BE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55BE#FFFFFF#000000##000000
##BA55BE1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4875C1
Deuteranopia (green-blind)
#6982BB
Tritanopia (blue-blind)
#BE6282
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba55be;
/* rgb */ color: rgb(186, 85, 190);
/* oklch */ color: oklch(61.4% 0.183 326.0);
Tailwind
colors: {
  custom: {
    50: '#d18ad2',
    500: '#ba55be',
    950: '#000000',
  },
}
SCSS
$custom: #ba55be;
$custom-light: #d18ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55be",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 190
  },
  "hsl": {
    "h": 297.714,
    "s": 44.681,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61426,
    "c": 0.18299,
    "h": 326
  },
  "luminance": 0.20654
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA55BE

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

Preview Lab → · Contrast checker → · Palette generator →

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