#BA94CA#BA94CA

#BA94CA is a light, moderate purple. Relative luminance 0.359; OKLCH L 72.0% C 0.087 H 315.7°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#BA94CA
RGBrgb(186, 148, 202)
HSLhsl(282, 34%, 69%)
HSVhsv(282, 27%, 79%)
CMYKcmyk(7.9%, 26.7%, 0%, 20.8%)
CIE-LABlab(66.43, 24.01, -22.40)
CIE-LCHlch(66.43, 32.83, 316.99°)
OKLaboklab(72% 0.0625 -0.0609)
OKLCHoklch(72% 0.087 315.7)
XYZxyz(41.4986, 35.8839, 60.6058)
Luminance0.3588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA94CA #A4CA94
analogous
#9F94CA #BA94CA #CA94BF
triadic
#BA94CA #CABA94 #94CABA
tetradic
#BA94CA #CA9F94 #A4CA94 #94BFCA
square
#BA94CA #CA9F94 #A4CA94 #94BFCA
split-complementary
#BA94CA #BFCA94 #94CA9F
monochromatic
#814B98 #A06BB6 #BA94CA #D4BDDE #EFE6F3

Accessibility & contrast

On white

2.57
#BA94CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#BA94CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA94CA
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA94CA#FFFFFF#000000##000000
##BA94CA1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D9FCC
Deuteranopia (green-blind)
#95A3C8
Tritanopia (blue-blind)
#BA9AA7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ba94ca;
/* rgb */ color: rgb(186, 148, 202);
/* oklch */ color: oklch(72.0% 0.087 315.7);
Tailwind
colors: {
  custom: {
    50: '#cfb3da',
    500: '#ba94ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba94ca;
$custom-light: #cfb3da;
$custom-dark: #000000;
JSON
{
  "hex": "#ba94ca",
  "rgb": {
    "r": 186,
    "g": 148,
    "b": 202
  },
  "hsl": {
    "h": 282.222,
    "s": 33.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72,
    "c": 0.08729,
    "h": 315.7
  },
  "luminance": 0.35883
}

Semantic roles & 50–950 ramp

primary
#BA94CA
secondary
#DAE5D5
accent
#AD395B
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#141114
muted
#828083

Preview Lab

Preview with #BA94CA

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

Preview Lab → · Contrast checker → · Palette generator →

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