#BA74BF#BA74BF

#BA74BF is a light, vivid purple. Relative luminance 0.267; OKLCH L 66.0% C 0.132 H 324.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#BA74BF
RGBrgb(186, 116, 191)
HSLhsl(296, 37%, 60%)
HSVhsv(296, 39%, 75%)
CMYKcmyk(2.6%, 39.3%, 0%, 25.1%)
CIE-LABlab(58.69, 39.49, -28.10)
CIE-LCHlch(58.69, 48.46, 324.57°)
OKLaboklab(65.98% 0.1079 -0.0768)
OKLCHoklch(65.98% 0.132 324.6)
XYZxyz(35.8982, 26.6929, 52.5414)
Luminance0.2669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA74BF #79BF74
analogous
#9474BF #BA74BF #BF749E
triadic
#BA74BF #BFBA74 #74BFBA
tetradic
#BA74BF #BF9474 #79BF74 #749EBF
square
#BA74BF #BF9474 #79BF74 #749EBF
split-complementary
#BA74BF #9EBF74 #74BF94
monochromatic
#7A3A7E #A24DA8 #BA74BF #CF9ED2 #E4C8E6

Accessibility & contrast

On white

3.31
#BA74BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#BA74BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA74BF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA74BF#FFFFFF#000000##000000
##BA74BF1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D88C2
Deuteranopia (green-blind)
#7F90BD
Tritanopia (blue-blind)
#BD7C91
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba74bf;
/* rgb */ color: rgb(186, 116, 191);
/* oklch */ color: oklch(66.0% 0.132 324.6);
Tailwind
colors: {
  custom: {
    50: '#d09dd2',
    500: '#ba74bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba74bf;
$custom-light: #d09dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba74bf",
  "rgb": {
    "r": 186,
    "g": 116,
    "b": 191
  },
  "hsl": {
    "h": 296,
    "s": 36.946,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65983,
    "c": 0.13246,
    "h": 324.6
  },
  "luminance": 0.26691
}

Semantic roles & 50–950 ramp

primary
#BA74BF
secondary
#BBD6B9
accent
#B0363E
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140E14
muted
#827E82

Preview Lab

Preview with #BA74BF

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

Preview Lab → · Contrast checker → · Palette generator →

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