#BA95CC#BA95CC

#BA95CC is a light, moderate purple. Relative luminance 0.363; OKLCH L 72.3% C 0.088 H 314.5°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#BA95CC
RGBrgb(186, 149, 204)
HSLhsl(280, 35%, 69%)
HSVhsv(280, 27%, 80%)
CMYKcmyk(8.8%, 27%, 0%, 20%)
CIE-LABlab(66.74, 23.86, -23.03)
CIE-LCHlch(66.74, 33.16, 316.02°)
OKLaboklab(72.26% 0.0616 -0.0627)
OKLCHoklch(72.26% 0.088 314.5)
XYZxyz(41.8945, 36.2943, 61.9135)
Luminance0.3629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA95CC #A7CC95
analogous
#9F95CC #BA95CC #CC95C3
triadic
#BA95CC #CCBA95 #95CCBA
tetradic
#BA95CC #CC9F95 #A7CC95 #95C3CC
square
#BA95CC #CC9F95 #A7CC95 #95C3CC
split-complementary
#BA95CC #C3CC95 #95CC9F
monochromatic
#814B9C #9F6CB8 #BA95CC #D5BEE0 #F0E8F4

Accessibility & contrast

On white

2.54
#BA95CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#BA95CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA95CC
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA95CC#FFFFFF#000000##000000
##BA95CC1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CE
Deuteranopia (green-blind)
#95A3CA
Tritanopia (blue-blind)
#B99CA8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ba95cc;
/* rgb */ color: rgb(186, 149, 204);
/* oklch */ color: oklch(72.3% 0.088 314.5);
Tailwind
colors: {
  custom: {
    50: '#cfb4db',
    500: '#ba95cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba95cc;
$custom-light: #cfb4db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba95cc",
  "rgb": {
    "r": 186,
    "g": 149,
    "b": 204
  },
  "hsl": {
    "h": 280.364,
    "s": 35.032,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72264,
    "c": 0.0879,
    "h": 314.5
  },
  "luminance": 0.36294
}

Semantic roles & 50–950 ramp

primary
#BA95CC
secondary
#DCE6D6
accent
#AE385E
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BA95CC

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

Preview Lab → · Contrast checker → · Palette generator →

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