#BA66BF#BA66BF

#BA66BF is a light, vivid purple. Relative luminance 0.237; OKLCH L 63.8% C 0.157 H 325.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#BA66BF
RGBrgb(186, 102, 191)
HSLhsl(297, 41%, 57%)
HSVhsv(297, 47%, 75%)
CMYKcmyk(2.6%, 46.6%, 0%, 25.1%)
CIE-LABlab(55.79, 46.89, -32.60)
CIE-LCHlch(55.79, 57.11, 325.20°)
OKLaboklab(63.82% 0.1285 -0.0895)
OKLCHoklch(63.82% 0.157 325.1)
XYZxyz(34.4042, 23.7051, 52.0434)
Luminance0.2370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA66BF #6BBF66
analogous
#8D66BF #BA66BF #BF6698
triadic
#BA66BF #BFBA66 #66BFBA
tetradic
#BA66BF #BF8D66 #6BBF66 #6698BF
square
#BA66BF #BF8D66 #6BBF66 #6698BF
split-complementary
#BA66BF #98BF66 #66BF8D
monochromatic
#743278 #9E44A3 #BA66BF #CD91D1 #E1BCE3

Accessibility & contrast

On white

3.66
#BA66BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#BA66BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA66BF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA66BF#FFFFFF#000000##000000
##BA66BF1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7FC2
Deuteranopia (green-blind)
#7489BC
Tritanopia (blue-blind)
#BE708A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba66bf;
/* rgb */ color: rgb(186, 102, 191);
/* oklch */ color: oklch(63.8% 0.157 325.1);
Tailwind
colors: {
  custom: {
    50: '#d094d2',
    500: '#ba66bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba66bf;
$custom-light: #d094d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba66bf",
  "rgb": {
    "r": 186,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 296.629,
    "s": 41.014,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63818,
    "c": 0.15659,
    "h": 325.1
  },
  "luminance": 0.23703
}

Semantic roles & 50–950 ramp

primary
#BA66BF
secondary
#B0D2AE
accent
#D1575E
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA66BF

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

Preview Lab → · Contrast checker → · Palette generator →

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