#BA99CA#BA99CA

#BA99CA is a light, moderate purple. Relative luminance 0.375; OKLCH L 72.9% C 0.078 H 314.6°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#BA99CA
RGBrgb(186, 153, 202)
HSLhsl(280, 32%, 70%)
HSVhsv(280, 24%, 79%)
CMYKcmyk(7.9%, 24.3%, 0%, 20.8%)
CIE-LABlab(67.64, 21.22, -20.55)
CIE-LCHlch(67.64, 29.54, 315.92°)
OKLaboklab(72.93% 0.055 -0.0558)
OKLCHoklch(72.93% 0.078 314.6)
XYZxyz(42.2999, 37.4864, 60.8729)
Luminance0.3749 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA99CA #A9CA99
analogous
#A299CA #BA99CA #CA99C2
triadic
#BA99CA #CABA99 #99CABA
tetradic
#BA99CA #CAA299 #A9CA99 #99C2CA
square
#BA99CA #CAA299 #A9CA99 #99C2CA
split-complementary
#BA99CA #C2CA99 #99CAA2
monochromatic
#815099 #9F71B5 #BA99CA #D5C1DF #F0EAF4

Accessibility & contrast

On white

2.47
#BA99CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#BA99CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA99CA
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA99CA#FFFFFF#000000##000000
##BA99CA1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A3CC
Deuteranopia (green-blind)
#99A6C8
Tritanopia (blue-blind)
#B99FAA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ba99ca;
/* rgb */ color: rgb(186, 153, 202);
/* oklch */ color: oklch(72.9% 0.078 314.6);
Tailwind
colors: {
  custom: {
    50: '#cfb7da',
    500: '#ba99ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba99ca;
$custom-light: #cfb7da;
$custom-dark: #000000;
JSON
{
  "hex": "#ba99ca",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 202
  },
  "hsl": {
    "h": 280.408,
    "s": 31.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72929,
    "c": 0.07834,
    "h": 314.6
  },
  "luminance": 0.37486
}

Semantic roles & 50–950 ramp

primary
#BA99CA
secondary
#DDE6D8
accent
#AA3B5F
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#141114
muted
#828083

Preview Lab

Preview with #BA99CA

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

Preview Lab → · Contrast checker → · Palette generator →

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