#BA99DB#BA99DB

#BA99DB is a light, moderate violet. Relative luminance 0.383; OKLCH L 73.6% C 0.100 H 306.9°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#BA99DB
RGBrgb(186, 153, 219)
HSLhsl(270, 48%, 73%)
HSVhsv(270, 30%, 86%)
CMYKcmyk(15.1%, 30.1%, 0%, 14.1%)
CIE-LABlab(68.27, 24.81, -29.00)
CIE-LCHlch(68.27, 38.17, 310.54°)
OKLaboklab(73.62% 0.0599 -0.0796)
OKLCHoklch(73.62% 0.1 306.9)
XYZxyz(44.4247, 38.3363, 72.0634)
Luminance0.3834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA99DB #BADB99
analogous
#9999DB #BA99DB #DB99DB
triadic
#BA99DB #DBBA99 #99DBBA
tetradic
#BA99DB #DB9999 #BADB99 #99DBDB
square
#BA99DB #DB9999 #BADB99 #99DBDB
split-complementary
#BA99DB #DBDB99 #99DB99
monochromatic
#7D41B8 #9B6CCB #BA99DB #D9C6EB #F0E8F7

Accessibility & contrast

On white

2.42
#BA99DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#BA99DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA99DB
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA99DB#FFFFFF#000000##000000
##BA99DB1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA5DE
Deuteranopia (green-blind)
#93A7D9
Tritanopia (blue-blind)
#B6A2B1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ba99db;
/* rgb */ color: rgb(186, 153, 219);
/* oklch */ color: oklch(73.6% 0.100 306.9);
Tailwind
colors: {
  custom: {
    50: '#cfb7e6',
    500: '#ba99db',
    950: '#000000',
  },
}
SCSS
$custom: #ba99db;
$custom-light: #cfb7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba99db",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 219
  },
  "hsl": {
    "h": 270,
    "s": 47.826,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73617,
    "c": 0.09963,
    "h": 306.9
  },
  "luminance": 0.38336
}

Semantic roles & 50–950 ramp

primary
#BA99DB
secondary
#E6EEDD
accent
#BB2A73
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BA99DB

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

Preview Lab → · Contrast checker → · Palette generator →

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