#BA4CBB#BA4CBB

#BA4CBB is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.2% C 0.194 H 327.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BA4CBB
RGBrgb(186, 76, 187)
HSLhsl(299, 45%, 52%)
HSVhsv(299, 59%, 73%)
CMYKcmyk(0.5%, 59.4%, 0%, 26.7%)
CIE-LABlab(50.92, 58.68, -37.93)
CIE-LCHlch(50.92, 69.87, 327.13°)
OKLaboklab(60.17% 0.163 -0.1046)
OKLCHoklch(60.17% 0.194 327.3)
XYZxyz(31.8033, 19.1978, 49.0345)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CBB #4DBB4C
analogous
#834CBB #BA4CBB #BB4C85
triadic
#BA4CBB #BBBA4C #4CBBBA
tetradic
#BA4CBB #BB834C #4DBB4C #4C85BB
square
#BA4CBB #BB834C #4DBB4C #4C85BB
split-complementary
#BA4CBB #85BB4C #4CBB83
monochromatic
#652766 #913892 #BA4CBB #CB78CC #DCA5DD

Accessibility & contrast

On white

4.34
#BA4CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#BA4CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CBB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CBB#FFFFFF#000000##000000
##BA4CBB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BE
Deuteranopia (green-blind)
#657EB8
Tritanopia (blue-blind)
#BF5A7C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba4cbb;
/* rgb */ color: rgb(186, 76, 187);
/* oklch */ color: oklch(60.2% 0.194 327.3);
Tailwind
colors: {
  custom: {
    50: '#d285d0',
    500: '#ba4cbb',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cbb;
$custom-light: #d285d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cbb",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 299.459,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.6017,
    "c": 0.19368,
    "h": 327.3
  },
  "luminance": 0.19196
}

Semantic roles & 50–950 ramp

primary
#BA4CBB
secondary
#99CA99
accent
#D55354
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA4CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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