#BA4BDF#BA4BDF

#BA4BDF is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.1% C 0.227 H 316.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BA4BDF
RGBrgb(186, 75, 223)
HSLhsl(285, 70%, 58%)
HSVhsv(285, 66%, 87%)
CMYKcmyk(16.6%, 66.4%, 0%, 12.5%)
CIE-LABlab(52.73, 65.79, -55.67)
CIE-LCHlch(52.73, 86.18, 319.76°)
OKLaboklab(62.12% 0.1648 -0.1563)
OKLCHoklch(62.12% 0.227 316.5)
XYZxyz(36.0830, 20.8004, 71.9119)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BDF #70DF4B
analogous
#704BDF #BA4BDF #DF4BBA
triadic
#BA4BDF #DFBA4B #4BDFBA
tetradic
#BA4BDF #DF704B #70DF4B #4BBADF
square
#BA4BDF #DF704B #70DF4B #4BBADF
split-complementary
#BA4BDF #BADF4B #4BDF70
monochromatic
#761B95 #A024C9 #BA4BDF #CE7FE8 #E2B3F1

Accessibility & contrast

On white

4.07
#BA4BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#BA4BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BDF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BDF#FFFFFF#000000##000000
##BA4BDF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#4C81DC
Tritanopia (blue-blind)
#B8678F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba4bdf;
/* rgb */ color: rgb(186, 75, 223);
/* oklch */ color: oklch(62.1% 0.227 316.5);
Tailwind
colors: {
  custom: {
    50: '#d385ea',
    500: '#ba4bdf',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bdf;
$custom-light: #d385ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bdf",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 223
  },
  "hsl": {
    "h": 285,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62116,
    "c": 0.22711,
    "h": 316.5
  },
  "luminance": 0.20799
}

Semantic roles & 50–950 ramp

primary
#BA4BDF
secondary
#B4E0A6
accent
#ED3B68
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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