#BA95CB#BA95CB

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

Color values

HEX#BA95CB
RGBrgb(186, 149, 203)
HSLhsl(281, 34%, 69%)
HSVhsv(281, 27%, 80%)
CMYKcmyk(8.4%, 26.6%, 0%, 20.4%)
CIE-LABlab(66.71, 23.66, -22.53)
CIE-LCHlch(66.71, 32.67, 316.40°)
OKLaboklab(72.22% 0.0613 -0.0613)
OKLCHoklch(72.22% 0.087 315)
XYZxyz(41.7750, 36.2464, 61.2839)
Luminance0.3625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA95CB #A6CB95
analogous
#9F95CB #BA95CB #CB95C1
triadic
#BA95CB #CBBA95 #95CBBA
tetradic
#BA95CB #CB9F95 #A6CB95 #95C1CB
square
#BA95CB #CB9F95 #A6CB95 #95C1CB
split-complementary
#BA95CB #C1CB95 #95CB9F
monochromatic
#814C9A #9F6CB7 #BA95CB #D5BEDF #EFE7F3

Accessibility & contrast

On white

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

On black

8.25
#BA95CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA95CB
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA95CB#FFFFFF#000000##000000
##BA95CB1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba95cb;
/* rgb */ color: rgb(186, 149, 203);
/* oklch */ color: oklch(72.2% 0.087 315.0);
Tailwind
colors: {
  custom: {
    50: '#cfb4db',
    500: '#ba95cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba95cb;
$custom-light: #cfb4db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba95cb",
  "rgb": {
    "r": 186,
    "g": 149,
    "b": 203
  },
  "hsl": {
    "h": 281.111,
    "s": 34.177,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72225,
    "c": 0.08669,
    "h": 315
  },
  "luminance": 0.36246
}

Semantic roles & 50–950 ramp

primary
#BA95CB
secondary
#DBE6D6
accent
#AD395D
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#141115
muted
#828083

Preview Lab

Preview with #BA95CB

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

Preview Lab → · Contrast checker → · Palette generator →

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