#BA95BF#BA95BF

#BA95BF is a light, moderate purple. Relative luminance 0.357; OKLCH L 71.8% C 0.073 H 322.4°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#BA95BF
RGBrgb(186, 149, 191)
HSLhsl(293, 25%, 67%)
HSVhsv(293, 22%, 75%)
CMYKcmyk(2.6%, 22%, 0%, 25.1%)
CIE-LABlab(66.29, 21.25, -16.48)
CIE-LCHlch(66.29, 26.89, 322.21°)
OKLaboklab(71.76% 0.0576 -0.0444)
OKLCHoklch(71.76% 0.073 322.4)
XYZxyz(40.3999, 35.6964, 54.0420)
Luminance0.3570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA95BF #9ABF95
analogous
#A595BF #BA95BF #BF95AF
triadic
#BA95BF #BFBA95 #95BFBA
tetradic
#BA95BF #BFA595 #9ABF95 #95AFBF
square
#BA95BF #BFA595 #9ABF95 #95AFBF
split-complementary
#BA95BF #AFBF95 #95BFA5
monochromatic
#815288 #A16FA8 #BA95BF #D3BBD6 #ECE1ED

Accessibility & contrast

On white

2.58
#BA95BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#BA95BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA95BF
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA95BF#FFFFFF#000000##000000
##BA95BF1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#919EC1
Deuteranopia (green-blind)
#99A3BD
Tritanopia (blue-blind)
#BC99A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ba95bf;
/* rgb */ color: rgb(186, 149, 191);
/* oklch */ color: oklch(71.8% 0.073 322.4);
Tailwind
colors: {
  custom: {
    50: '#cfb4d2',
    500: '#ba95bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba95bf;
$custom-light: #cfb4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba95bf",
  "rgb": {
    "r": 186,
    "g": 149,
    "b": 191
  },
  "hsl": {
    "h": 292.857,
    "s": 24.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71763,
    "c": 0.07273,
    "h": 322.4
  },
  "luminance": 0.35696
}

Semantic roles & 50–950 ramp

primary
#BA95BF
secondary
#D3DFD1
accent
#A3424E
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#141114
muted
#828082

Preview Lab

Preview with #BA95BF

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

Preview Lab → · Contrast checker → · Palette generator →

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