#BA66CE#BA66CE

#BA66CE is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.6% C 0.172 H 319.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BA66CE
RGBrgb(186, 102, 206)
HSLhsl(288, 51%, 60%)
HSVhsv(288, 50%, 81%)
CMYKcmyk(9.7%, 50.5%, 0%, 19.2%)
CIE-LABlab(56.49, 49.79, -40.07)
CIE-LCHlch(56.49, 63.91, 321.18°)
OKLaboklab(64.56% 0.1307 -0.111)
OKLCHoklch(64.56% 0.172 319.7)
XYZxyz(36.1402, 24.3995, 61.1864)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA66CE #7ACE66
analogous
#8666CE #BA66CE #CE66AE
triadic
#BA66CE #CEBA66 #66CEBA
tetradic
#BA66CE #CE8666 #7ACE66 #66AECE
square
#BA66CE #CE8666 #7ACE66 #66AECE
split-complementary
#BA66CE #AECE66 #66CE86
monochromatic
#7A2D8D #A23CBB #BA66CE #CF94DD #E4C3EC

Accessibility & contrast

On white

3.57
#BA66CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#BA66CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA66CE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA66CE#FFFFFF#000000##000000
##BA66CE1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5482D1
Deuteranopia (green-blind)
#6D8ACB
Tritanopia (blue-blind)
#BB7591
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba66ce;
/* rgb */ color: rgb(186, 102, 206);
/* oklch */ color: oklch(64.6% 0.172 319.7);
Tailwind
colors: {
  custom: {
    50: '#d195dd',
    500: '#ba66ce',
    950: '#000000',
  },
}
SCSS
$custom: #ba66ce;
$custom-light: #d195dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba66ce",
  "rgb": {
    "r": 186,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 288.462,
    "s": 51.485,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6456,
    "c": 0.1715,
    "h": 319.7
  },
  "luminance": 0.24398
}

Semantic roles & 50–950 ramp

primary
#BA66CE
secondary
#BCDCB4
accent
#BF2744
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA66CE

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

Preview Lab → · Contrast checker → · Palette generator →

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