#BA91C7#BA91C7

#BA91C7 is a light, moderate purple. Relative luminance 0.348; OKLCH L 71.3% C 0.089 H 317.9°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#BA91C7
RGBrgb(186, 145, 199)
HSLhsl(286, 33%, 67%)
HSVhsv(286, 27%, 78%)
CMYKcmyk(6.5%, 27.1%, 0%, 22%)
CIE-LABlab(65.60, 25.07, -21.99)
CIE-LCHlch(65.60, 33.35, 318.75°)
OKLaboklab(71.33% 0.0662 -0.0597)
OKLCHoklch(71.33% 0.089 317.9)
XYZxyz(40.6824, 34.8142, 58.5985)
Luminance0.3481 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA91C7 #9EC791
analogous
#9F91C7 #BA91C7 #C791B9
triadic
#BA91C7 #C7BA91 #91C7BA
tetradic
#BA91C7 #C79F91 #9EC791 #91B9C7
square
#BA91C7 #C79F91 #9EC791 #91B9C7
split-complementary
#BA91C7 #B9C791 #91C79F
monochromatic
#814B93 #A168B2 #BA91C7 #D3BADC #EDE2F0

Accessibility & contrast

On white

2.64
#BA91C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#BA91C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA91C7
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA91C7#FFFFFF#000000##000000
##BA91C71.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9DC9
Deuteranopia (green-blind)
#93A1C5
Tritanopia (blue-blind)
#BA97A4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ba91c7;
/* rgb */ color: rgb(186, 145, 199);
/* oklch */ color: oklch(71.3% 0.089 317.9);
Tailwind
colors: {
  custom: {
    50: '#cfb1d8',
    500: '#ba91c7',
    950: '#000000',
  },
}
SCSS
$custom: #ba91c7;
$custom-light: #cfb1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba91c7",
  "rgb": {
    "r": 186,
    "g": 145,
    "b": 199
  },
  "hsl": {
    "h": 285.556,
    "s": 32.53,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71331,
    "c": 0.08914,
    "h": 317.9
  },
  "luminance": 0.34813
}

Semantic roles & 50–950 ramp

primary
#BA91C7
secondary
#D6E2D1
accent
#AB3A55
background
#FCFAFD
surface
#F9F5FA
border
#D2CFD3
text
#141014
muted
#827F83

Preview Lab

Preview with #BA91C7

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

Preview Lab → · Contrast checker → · Palette generator →

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