#BA93BF#BA93BF

#BA93BF is a light, moderate purple. Relative luminance 0.351; OKLCH L 71.4% C 0.076 H 322.6°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#BA93BF
RGBrgb(186, 147, 191)
HSLhsl(293, 26%, 66%)
HSVhsv(293, 23%, 75%)
CMYKcmyk(2.6%, 23%, 0%, 25.1%)
CIE-LABlab(65.80, 22.37, -17.21)
CIE-LCHlch(65.80, 28.22, 322.42°)
OKLaboklab(71.39% 0.0607 -0.0464)
OKLCHoklch(71.39% 0.076 322.6)
XYZxyz(40.0862, 35.0690, 53.9374)
Luminance0.3507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA93BF #98BF93
analogous
#A493BF #BA93BF #BF93AE
triadic
#BA93BF #BFBA93 #93BFBA
tetradic
#BA93BF #BFA493 #98BF93 #93AEBF
square
#BA93BF #BFA493 #98BF93 #93AEBF
split-complementary
#BA93BF #AEBF93 #93BFA4
monochromatic
#815087 #A16DA8 #BA93BF #D3B9D6 #EBE0ED

Accessibility & contrast

On white

2.62
#BA93BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#BA93BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA93BF
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA93BF#FFFFFF#000000##000000
##BA93BF1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F9DC1
Deuteranopia (green-blind)
#98A1BD
Tritanopia (blue-blind)
#BC97A2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ba93bf;
/* rgb */ color: rgb(186, 147, 191);
/* oklch */ color: oklch(71.4% 0.076 322.6);
Tailwind
colors: {
  custom: {
    50: '#cfb3d2',
    500: '#ba93bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba93bf;
$custom-light: #cfb3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba93bf",
  "rgb": {
    "r": 186,
    "g": 147,
    "b": 191
  },
  "hsl": {
    "h": 293.182,
    "s": 25.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.7139,
    "c": 0.07639,
    "h": 322.6
  },
  "luminance": 0.35068
}

Semantic roles & 50–950 ramp

primary
#BA93BF
secondary
#D1DED0
accent
#A4414D
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#141114
muted
#828082

Preview Lab

Preview with #BA93BF

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

Preview Lab → · Contrast checker → · Palette generator →

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