#BA2FD0#BA2FD0

#BA2FD0 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.7% C 0.245 H 321.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BA2FD0
RGBrgb(186, 47, 208)
HSLhsl(292, 63%, 50%)
HSVhsv(292, 77%, 82%)
CMYKcmyk(10.6%, 77.4%, 0%, 18.4%)
CIE-LABlab(48.30, 73.04, -54.23)
CIE-LCHlch(48.30, 90.97, 323.41°)
OKLaboklab(58.66% 0.1923 -0.1519)
OKLCHoklch(58.66% 0.245 321.7)
XYZxyz(32.6501, 17.0281, 61.2293)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2FD0 #45D02F
analogous
#692FD0 #BA2FD0 #D02F96
triadic
#BA2FD0 #D0BA2F #2FD0BA
tetradic
#BA2FD0 #D0692F #45D02F #2F96D0
square
#BA2FD0 #D0692F #45D02F #2F96D0
split-complementary
#BA2FD0 #96D02F #2FD069
monochromatic
#61186C #8D249E #BA2FD0 #CB61DB #DB93E7

Accessibility & contrast

On white

4.77
#BA2FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#BA2FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2FD0
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2FD0#FFFFFF#000000##FFFFFF
##BA2FD01.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D4
Deuteranopia (green-blind)
#4678CC
Tritanopia (blue-blind)
#BC507F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba2fd0;
/* rgb */ color: rgb(186, 47, 208);
/* oklch */ color: oklch(58.7% 0.245 321.7);
Tailwind
colors: {
  custom: {
    50: '#d378df',
    500: '#ba2fd0',
    950: '#000000',
  },
}
SCSS
$custom: #ba2fd0;
$custom-light: #d378df;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2fd0",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 208
  },
  "hsl": {
    "h": 291.801,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.58663,
    "c": 0.24501,
    "h": 321.7
  },
  "luminance": 0.17026
}

Semantic roles & 50–950 ramp

primary
#BA2FD0
secondary
#93D189
accent
#E64258
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #BA2FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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