#BA66BC#BA66BC

#BA66BC is a light, vivid purple. Relative luminance 0.236; OKLCH L 63.7% C 0.154 H 326.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#BA66BC
RGBrgb(186, 102, 188)
HSLhsl(299, 39%, 57%)
HSVhsv(299, 46%, 74%)
CMYKcmyk(1.1%, 45.7%, 0%, 26.3%)
CIE-LABlab(55.66, 46.33, -31.08)
CIE-LCHlch(55.66, 55.79, 326.14°)
OKLaboklab(63.68% 0.1279 -0.0852)
OKLCHoklch(63.68% 0.154 326.3)
XYZxyz(34.0775, 23.5744, 50.3225)
Luminance0.2357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA66BC #68BC66
analogous
#8F66BC #BA66BC #BC6693
triadic
#BA66BC #BCBA66 #66BCBA
tetradic
#BA66BC #BC8F66 #68BC66 #6693BC
square
#BA66BC #BC8F66 #68BC66 #6693BC
split-complementary
#BA66BC #93BC66 #66BC8F
monochromatic
#733375 #9D469F #BA66BC #CD91CF #E0BBE1

Accessibility & contrast

On white

3.67
#BA66BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA66BC#FFFFFF#000000##000000
##BA66BC1.003.675.715.71
#FFFFFF3.671.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba66bc;
/* rgb */ color: rgb(186, 102, 188);
/* oklch */ color: oklch(63.7% 0.154 326.3);
Tailwind
colors: {
  custom: {
    50: '#d094d0',
    500: '#ba66bc',
    950: '#000000',
  },
}
SCSS
$custom: #ba66bc;
$custom-light: #d094d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba66bc",
  "rgb": {
    "r": 186,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 298.605,
    "s": 39.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63677,
    "c": 0.1537,
    "h": 326.3
  },
  "luminance": 0.23573
}

Semantic roles & 50–950 ramp

primary
#BA66BC
secondary
#AED0AD
accent
#CF595C
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA66BC

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

Preview Lab → · Contrast checker → · Palette generator →

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