#BA4ADB#BA4ADB

#BA4ADB is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.8% C 0.225 H 317.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BA4ADB
RGBrgb(186, 74, 219)
HSLhsl(286, 67%, 57%)
HSVhsv(286, 66%, 86%)
CMYKcmyk(15.1%, 66.2%, 0%, 14.1%)
CIE-LABlab(52.35, 65.43, -54.02)
CIE-LCHlch(52.35, 84.85, 320.46°)
OKLaboklab(61.76% 0.166 -0.1515)
OKLCHoklch(61.76% 0.225 317.6)
XYZxyz(35.4828, 20.4526, 69.0828)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4ADB #6BDB4A
analogous
#724ADB #BA4ADB #DB4AB3
triadic
#BA4ADB #DBBA4A #4ADBBA
tetradic
#BA4ADB #DB724A #6BDB4A #4AB3DB
square
#BA4ADB #DB724A #6BDB4A #4AB3DB
split-complementary
#BA4ADB #B3DB4A #4ADB72
monochromatic
#741C8E #9E26C1 #BA4ADB #CD7DE5 #E1B0EF

Accessibility & contrast

On white

4.13
#BA4ADB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#BA4ADB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4ADB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4ADB#FFFFFF#000000##000000
##BA4ADB1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0676DF
Deuteranopia (green-blind)
#4F80D8
Tritanopia (blue-blind)
#B9658D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba4adb;
/* rgb */ color: rgb(186, 74, 219);
/* oklch */ color: oklch(61.8% 0.225 317.6);
Tailwind
colors: {
  custom: {
    50: '#d285e7',
    500: '#ba4adb',
    950: '#000000',
  },
}
SCSS
$custom: #ba4adb;
$custom-light: #d285e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4adb",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 219
  },
  "hsl": {
    "h": 286.345,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61764,
    "c": 0.22473,
    "h": 317.6
  },
  "luminance": 0.20451
}

Semantic roles & 50–950 ramp

primary
#BA4ADB
secondary
#B0DEA3
accent
#EA3E65
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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