#BA95CA#BA95CA

#BA95CA is a light, moderate purple. Relative luminance 0.362; OKLCH L 72.2% C 0.085 H 315.5°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#BA95CA
RGBrgb(186, 149, 202)
HSLhsl(282, 33%, 69%)
HSVhsv(282, 26%, 79%)
CMYKcmyk(7.9%, 26.2%, 0%, 20.8%)
CIE-LABlab(66.67, 23.45, -22.03)
CIE-LCHlch(66.67, 32.18, 316.79°)
OKLaboklab(72.19% 0.061 -0.0599)
OKLCHoklch(72.19% 0.085 315.5)
XYZxyz(41.6562, 36.1989, 60.6583)
Luminance0.3620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA95CA #A5CA95
analogous
#A095CA #BA95CA #CA95C0
triadic
#BA95CA #CABA95 #95CABA
tetradic
#BA95CA #CAA095 #A5CA95 #95C0CA
square
#BA95CA #CAA095 #A5CA95 #95C0CA
split-complementary
#BA95CA #C0CA95 #95CAA0
monochromatic
#814C98 #9F6CB6 #BA95CA #D5BEDE #EFE7F3

Accessibility & contrast

On white

2.55
#BA95CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#BA95CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA95CA
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA95CA#FFFFFF#000000##000000
##BA95CA1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA0CC
Deuteranopia (green-blind)
#96A3C8
Tritanopia (blue-blind)
#B99BA8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ba95ca;
/* rgb */ color: rgb(186, 149, 202);
/* oklch */ color: oklch(72.2% 0.085 315.5);
Tailwind
colors: {
  custom: {
    50: '#cfb4da',
    500: '#ba95ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba95ca;
$custom-light: #cfb4da;
$custom-dark: #000000;
JSON
{
  "hex": "#ba95ca",
  "rgb": {
    "r": 186,
    "g": 149,
    "b": 202
  },
  "hsl": {
    "h": 281.887,
    "s": 33.333,
    "l": 68.824
  },
  "oklch": {
    "l": 0.72185,
    "c": 0.08549,
    "h": 315.5
  },
  "luminance": 0.36198
}

Semantic roles & 50–950 ramp

primary
#BA95CA
secondary
#DAE5D6
accent
#AC395C
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#141114
muted
#828083

Preview Lab

Preview with #BA95CA

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

Preview Lab → · Contrast checker → · Palette generator →

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