#BA91C6#BA91C6

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

Color values

HEX#BA91C6
RGBrgb(186, 145, 198)
HSLhsl(286, 32%, 67%)
HSVhsv(286, 27%, 78%)
CMYKcmyk(6.1%, 26.8%, 0%, 22.4%)
CIE-LABlab(65.57, 24.87, -21.48)
CIE-LCHlch(65.57, 32.86, 319.18°)
OKLaboklab(71.29% 0.0659 -0.0583)
OKLCHoklch(71.29% 0.088 318.5)
XYZxyz(40.5667, 34.7679, 57.9890)
Luminance0.3477 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA91C6 #9DC691
analogous
#A091C6 #BA91C6 #C691B8
triadic
#BA91C6 #C6BA91 #91C6BA
tetradic
#BA91C6 #C6A091 #9DC691 #91B8C6
square
#BA91C6 #C6A091 #9DC691 #91B8C6
split-complementary
#BA91C6 #B8C691 #91C6A0
monochromatic
#814B91 #A169B1 #BA91C6 #D3B9DB #EDE2F0

Accessibility & contrast

On white

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

On black

7.95
#BA91C6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA91C6
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA91C6#FFFFFF#000000##000000
##BA91C61.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9DC8
Deuteranopia (green-blind)
#94A1C4
Tritanopia (blue-blind)
#BA97A4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ba91c6;
/* rgb */ color: rgb(186, 145, 198);
/* oklch */ color: oklch(71.3% 0.088 318.5);
Tailwind
colors: {
  custom: {
    50: '#cfb1d7',
    500: '#ba91c6',
    950: '#000000',
  },
}
SCSS
$custom: #ba91c6;
$custom-light: #cfb1d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba91c6",
  "rgb": {
    "r": 186,
    "g": 145,
    "b": 198
  },
  "hsl": {
    "h": 286.415,
    "s": 31.737,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71291,
    "c": 0.08798,
    "h": 318.5
  },
  "luminance": 0.34767
}

Semantic roles & 50–950 ramp

primary
#BA91C6
secondary
#D5E2D1
accent
#AA3B54
background
#FCFAFD
surface
#F9F5FA
border
#D2CFD3
text
#141014
muted
#827F83

Preview Lab

Preview with #BA91C6

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

Preview Lab → · Contrast checker → · Palette generator →

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