#BA66BB#BA66BB

#BA66BB is a light, vivid purple. Relative luminance 0.235; OKLCH L 63.6% C 0.153 H 326.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#BA66BB
RGBrgb(186, 102, 187)
HSLhsl(299, 38%, 57%)
HSVhsv(299, 45%, 73%)
CMYKcmyk(0.5%, 45.5%, 0%, 26.7%)
CIE-LABlab(55.62, 46.14, -30.57)
CIE-LCHlch(55.62, 55.35, 326.47°)
OKLaboklab(63.63% 0.1278 -0.0837)
OKLCHoklch(63.63% 0.153 326.8)
XYZxyz(33.9701, 23.5314, 49.7568)
Luminance0.2353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA66BB #67BB66
analogous
#9066BB #BA66BB #BB6692
triadic
#BA66BB #BBBA66 #66BBBA
tetradic
#BA66BB #BB9066 #67BB66 #6692BB
square
#BA66BB #BB9066 #67BB66 #6692BB
split-complementary
#BA66BB #92BB66 #66BB90
monochromatic
#733373 #9D469E #BA66BB #CD90CE #E0BBE1

Accessibility & contrast

On white

3.68
#BA66BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#BA66BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA66BB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA66BB#FFFFFF#000000##000000
##BA66BB1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBE
Deuteranopia (green-blind)
#7689B8
Tritanopia (blue-blind)
#BE6F88
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba66bb;
/* rgb */ color: rgb(186, 102, 187);
/* oklch */ color: oklch(63.6% 0.153 326.8);
Tailwind
colors: {
  custom: {
    50: '#d094cf',
    500: '#ba66bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba66bb;
$custom-light: #d094cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba66bb",
  "rgb": {
    "r": 186,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 299.294,
    "s": 38.462,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6363,
    "c": 0.15275,
    "h": 326.8
  },
  "luminance": 0.2353
}

Semantic roles & 50–950 ramp

primary
#BA66BB
secondary
#ADD0AD
accent
#CE595B
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA66BB

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

Preview Lab → · Contrast checker → · Palette generator →

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