#BA4BDD#BA4BDD

#BA4BDD is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 62.0% C 0.225 H 317.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BA4BDD
RGBrgb(186, 75, 221)
HSLhsl(286, 68%, 58%)
HSVhsv(286, 66%, 87%)
CMYKcmyk(15.8%, 66.1%, 0%, 13.3%)
CIE-LABlab(52.61, 65.40, -54.73)
CIE-LCHlch(52.61, 85.28, 320.08°)
OKLaboklab(61.99% 0.1649 -0.1535)
OKLCHoklch(61.99% 0.225 317)
XYZxyz(35.8150, 20.6932, 70.5002)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BDD #6EDD4B
analogous
#714BDD #BA4BDD #DD4BB7
triadic
#BA4BDD #DDBA4B #4BDDBA
tetradic
#BA4BDD #DD714B #6EDD4B #4BB7DD
square
#BA4BDD #DD714B #6EDD4B #4BB7DD
split-complementary
#BA4BDD #B7DD4B #4BDD71
monochromatic
#761C92 #9F25C5 #BA4BDD #CE7EE7 #E1B2F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4BDD#FFFFFF#000000##000000
##BA4BDD1.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)
#0277E1
Deuteranopia (green-blind)
#4E81DA
Tritanopia (blue-blind)
#B8668E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba4bdd;
/* rgb */ color: rgb(186, 75, 221);
/* oklch */ color: oklch(62.0% 0.225 317.0);
Tailwind
colors: {
  custom: {
    50: '#d285e8',
    500: '#ba4bdd',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bdd;
$custom-light: #d285e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bdd",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 285.616,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61993,
    "c": 0.22528,
    "h": 317
  },
  "luminance": 0.20692
}

Semantic roles & 50–950 ramp

primary
#BA4BDD
secondary
#B3DFA5
accent
#EB3D67
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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