#BA74CA#BA74CA

#BA74CA is a light, vivid purple. Relative luminance 0.272; OKLCH L 66.5% C 0.144 H 320.0°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#BA74CA
RGBrgb(186, 116, 202)
HSLhsl(289, 45%, 62%)
HSVhsv(289, 43%, 79%)
CMYKcmyk(7.9%, 42.6%, 0%, 20.8%)
CIE-LABlab(59.15, 41.65, -33.62)
CIE-LCHlch(59.15, 53.52, 321.09°)
OKLaboklab(66.49% 0.1102 -0.0926)
OKLCHoklch(66.49% 0.144 320)
XYZxyz(37.1544, 27.1954, 59.1577)
Luminance0.2719 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA74CA #84CA74
analogous
#8F74CA #BA74CA #CA74AF
triadic
#BA74CA #CABA74 #74CABA
tetradic
#BA74CA #CA8F74 #84CA74 #74AFCA
square
#BA74CA #CA8F74 #84CA74 #74AFCA
split-complementary
#BA74CA #AFCA74 #74CA8F
monochromatic
#7D368E #A448B9 #BA74CA #D0A0DB #E6CDEC

Accessibility & contrast

On white

3.26
#BA74CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#BA74CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA74CA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA74CA#FFFFFF#000000##000000
##BA74CA1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6889CD
Deuteranopia (green-blind)
#7A91C7
Tritanopia (blue-blind)
#BB7F95
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba74ca;
/* rgb */ color: rgb(186, 116, 202);
/* oklch */ color: oklch(66.5% 0.144 320.0);
Tailwind
colors: {
  custom: {
    50: '#d09eda',
    500: '#ba74ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba74ca;
$custom-light: #d09eda;
$custom-dark: #000000;
JSON
{
  "hex": "#ba74ca",
  "rgb": {
    "r": 186,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 288.837,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66486,
    "c": 0.14393,
    "h": 320
  },
  "luminance": 0.27194
}

Semantic roles & 50–950 ramp

primary
#BA74CA
secondary
#C3DDBD
accent
#B82E47
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140E15
muted
#827E83

Preview Lab

Preview with #BA74CA

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

Preview Lab → · Contrast checker → · Palette generator →

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