#BA66CB#BA66CB

#BA66CB is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.4% C 0.168 H 320.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#BA66CB
RGBrgb(186, 102, 203)
HSLhsl(290, 49%, 60%)
HSVhsv(290, 50%, 80%)
CMYKcmyk(8.4%, 49.8%, 0%, 20.4%)
CIE-LABlab(56.34, 49.20, -38.59)
CIE-LCHlch(56.34, 62.53, 321.89°)
OKLaboklab(64.41% 0.1303 -0.1067)
OKLCHoklch(64.41% 0.168 320.7)
XYZxyz(35.7793, 24.2551, 59.2853)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA66CB #77CB66
analogous
#8866CB #BA66CB #CB66AA
triadic
#BA66CB #CBBA66 #66CBBA
tetradic
#BA66CB #CB8866 #77CB66 #66AACB
square
#BA66CB #CB8866 #77CB66 #66AACB
split-complementary
#BA66CB #AACB66 #66CB88
monochromatic
#792E88 #A23EB6 #BA66CB #CF94DB #E3C1EA

Accessibility & contrast

On white

3.59
#BA66CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#BA66CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA66CB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA66CB#FFFFFF#000000##000000
##BA66CB1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CE
Deuteranopia (green-blind)
#6F8AC8
Tritanopia (blue-blind)
#BB748F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba66cb;
/* rgb */ color: rgb(186, 102, 203);
/* oklch */ color: oklch(64.4% 0.168 320.7);
Tailwind
colors: {
  custom: {
    50: '#d194db',
    500: '#ba66cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba66cb;
$custom-light: #d194db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba66cb",
  "rgb": {
    "r": 186,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 289.901,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64407,
    "c": 0.16847,
    "h": 320.7
  },
  "luminance": 0.24254
}

Semantic roles & 50–950 ramp

primary
#BA66CB
secondary
#B9DAB3
accent
#D94F66
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA66CB

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

Preview Lab → · Contrast checker → · Palette generator →

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