#BA3FCD#BA3FCD

#BA3FCD is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.8% C 0.226 H 322.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BA3FCD
RGBrgb(186, 63, 205)
HSLhsl(292, 59%, 53%)
HSVhsv(292, 69%, 80%)
CMYKcmyk(9.3%, 69.3%, 0%, 19.6%)
CIE-LABlab(49.98, 67.18, -49.80)
CIE-LCHlch(49.98, 83.62, 323.45°)
OKLaboklab(59.81% 0.1781 -0.1391)
OKLCHoklch(59.81% 0.226 322)
XYZxyz(33.0455, 18.4037, 59.5574)
Luminance0.1840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FCD #52CD3F
analogous
#733FCD #BA3FCD #CD3F99
triadic
#BA3FCD #CDBA3F #3FCDBA
tetradic
#BA3FCD #CD733F #52CD3F #3F99CD
square
#BA3FCD #CD733F #52CD3F #3F99CD
split-complementary
#BA3FCD #99CD3F #3FCD73
monochromatic
#681E74 #942BA4 #BA3FCD #CB70DA #DDA0E6

Accessibility & contrast

On white

4.49
#BA3FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#BA3FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3FCD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FCD#FFFFFF#000000##000000
##BA3FCD1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#076ED1
Deuteranopia (green-blind)
#527CCA
Tritanopia (blue-blind)
#BC5882
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba3fcd;
/* rgb */ color: rgb(186, 63, 205);
/* oklch */ color: oklch(59.8% 0.226 322.0);
Tailwind
colors: {
  custom: {
    50: '#d27fdd',
    500: '#ba3fcd',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fcd;
$custom-light: #d27fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fcd",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 205
  },
  "hsl": {
    "h": 291.972,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59807,
    "c": 0.22595,
    "h": 322
  },
  "luminance": 0.18402
}

Semantic roles & 50–950 ramp

primary
#BA3FCD
secondary
#9DD395
accent
#E2465B
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA3FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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