#BA91C4#BA91C4

#BA91C4 is a light, moderate purple. Relative luminance 0.347; OKLCH L 71.2% C 0.086 H 319.6°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#BA91C4
RGBrgb(186, 145, 196)
HSLhsl(288, 30%, 67%)
HSVhsv(288, 26%, 77%)
CMYKcmyk(5.1%, 26%, 0%, 23.1%)
CIE-LABlab(65.50, 24.47, -20.47)
CIE-LCHlch(65.50, 31.90, 320.08°)
OKLaboklab(71.21% 0.0653 -0.0555)
OKLCHoklch(71.21% 0.086 319.6)
XYZxyz(40.3375, 34.6763, 56.7821)
Luminance0.3468 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA91C4 #9BC491
analogous
#A191C4 #BA91C4 #C491B5
triadic
#BA91C4 #C4BA91 #91C4BA
tetradic
#BA91C4 #C4A191 #9BC491 #91B5C4
square
#BA91C4 #C4A191 #9BC491 #91B5C4
split-complementary
#BA91C4 #B5C491 #91C4A1
monochromatic
#814C8E #A169AF #BA91C4 #D3B9D9 #ECE1EF

Accessibility & contrast

On white

2.65
#BA91C4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#BA91C4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA91C4
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA91C4#FFFFFF#000000##000000
##BA91C41.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9CC6
Deuteranopia (green-blind)
#94A1C2
Tritanopia (blue-blind)
#BB96A3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ba91c4;
/* rgb */ color: rgb(186, 145, 196);
/* oklch */ color: oklch(71.2% 0.086 319.6);
Tailwind
colors: {
  custom: {
    50: '#cfb1d6',
    500: '#ba91c4',
    950: '#000000',
  },
}
SCSS
$custom: #ba91c4;
$custom-light: #cfb1d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba91c4",
  "rgb": {
    "r": 186,
    "g": 145,
    "b": 196
  },
  "hsl": {
    "h": 288.235,
    "s": 30.178,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71213,
    "c": 0.08567,
    "h": 319.6
  },
  "luminance": 0.34675
}

Semantic roles & 50–950 ramp

primary
#BA91C4
secondary
#D3E1D0
accent
#A93D52
background
#FCFAFD
surface
#F9F5FA
border
#D2CFD3
text
#141014
muted
#827F83

Preview Lab

Preview with #BA91C4

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

Preview Lab → · Contrast checker → · Palette generator →

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