#BA4BDE#BA4BDE

#BA4BDE is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.1% C 0.226 H 316.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BA4BDE
RGBrgb(186, 75, 222)
HSLhsl(285, 69%, 58%)
HSVhsv(285, 66%, 87%)
CMYKcmyk(16.2%, 66.2%, 0%, 12.9%)
CIE-LABlab(52.67, 65.60, -55.20)
CIE-LCHlch(52.67, 85.73, 319.92°)
OKLaboklab(62.06% 0.1648 -0.1549)
OKLCHoklch(62.06% 0.226 316.8)
XYZxyz(35.9486, 20.7466, 71.2040)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BDE #6FDE4B
analogous
#704BDE #BA4BDE #DE4BB8
triadic
#BA4BDE #DEBA4B #4BDEBA
tetradic
#BA4BDE #DE704B #6FDE4B #4BB8DE
square
#BA4BDE #DE704B #6FDE4B #4BB8DE
split-complementary
#BA4BDE #B8DE4B #4BDE70
monochromatic
#761B94 #9F25C7 #BA4BDE #CE7FE7 #E2B2F1

Accessibility & contrast

On white

4.08
#BA4BDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#BA4BDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BDE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BDE#FFFFFF#000000##000000
##BA4BDE1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba4bde;
/* rgb */ color: rgb(186, 75, 222);
/* oklch */ color: oklch(62.1% 0.226 316.8);
Tailwind
colors: {
  custom: {
    50: '#d285e9',
    500: '#ba4bde',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bde;
$custom-light: #d285e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bde",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 222
  },
  "hsl": {
    "h": 285.306,
    "s": 69.014,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62055,
    "c": 0.22619,
    "h": 316.8
  },
  "luminance": 0.20745
}

Semantic roles & 50–950 ramp

primary
#BA4BDE
secondary
#B3E0A5
accent
#EC3C67
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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