#BA99CB#BA99CB

#BA99CB is a light, moderate violet. Relative luminance 0.375; OKLCH L 73.0% C 0.080 H 314.0°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#BA99CB
RGBrgb(186, 153, 203)
HSLhsl(280, 32%, 70%)
HSVhsv(280, 25%, 80%)
CMYKcmyk(8.4%, 24.6%, 0%, 20.4%)
CIE-LABlab(67.68, 21.43, -21.05)
CIE-LCHlch(67.68, 30.04, 315.51°)
OKLaboklab(72.97% 0.0553 -0.0572)
OKLCHoklch(72.97% 0.08 314)
XYZxyz(42.4187, 37.5339, 61.4985)
Luminance0.3753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA99CB #AACB99
analogous
#A199CB #BA99CB #CB99C3
triadic
#BA99CB #CBBA99 #99CBBA
tetradic
#BA99CB #CBA199 #AACB99 #99C3CB
square
#BA99CB #CBA199 #AACB99 #99C3CB
split-complementary
#BA99CB #C3CB99 #99CBA1
monochromatic
#814F9B #9F70B6 #BA99CB #D5C2E0 #F1EAF4

Accessibility & contrast

On white

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

On black

8.51
#BA99CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA99CB
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA99CB#FFFFFF#000000##000000
##BA99CB1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba99cb;
/* rgb */ color: rgb(186, 153, 203);
/* oklch */ color: oklch(73.0% 0.080 314.0);
Tailwind
colors: {
  custom: {
    50: '#cfb7db',
    500: '#ba99cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba99cb;
$custom-light: #cfb7db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba99cb",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 203
  },
  "hsl": {
    "h": 279.6,
    "s": 32.468,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72968,
    "c": 0.07955,
    "h": 314
  },
  "luminance": 0.37533
}

Semantic roles & 50–950 ramp

primary
#BA99CB
secondary
#DEE7D9
accent
#AB3A61
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#141115
muted
#828083

Preview Lab

Preview with #BA99CB

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

Preview Lab → · Contrast checker → · Palette generator →

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