#BA66BD#BA66BD

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

Color values

HEX#BA66BD
RGBrgb(186, 102, 189)
HSLhsl(298, 40%, 57%)
HSVhsv(298, 46%, 74%)
CMYKcmyk(1.6%, 46%, 0%, 25.9%)
CIE-LABlab(55.70, 46.52, -31.59)
CIE-LCHlch(55.70, 56.23, 325.82°)
OKLaboklab(63.72% 0.1281 -0.0866)
OKLCHoklch(63.72% 0.155 325.9)
XYZxyz(34.1857, 23.6176, 50.8922)
Luminance0.2362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA66BD #69BD66
analogous
#8F66BD #BA66BD #BD6695
triadic
#BA66BD #BDBA66 #66BDBA
tetradic
#BA66BD #BD8F66 #69BD66 #6695BD
square
#BA66BD #BD8F66 #69BD66 #6695BD
split-complementary
#BA66BD #95BD66 #66BD8F
monochromatic
#733376 #9D45A1 #BA66BD #CD91CF #E1BCE2

Accessibility & contrast

On white

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

On black

5.72
#BA66BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA66BD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA66BD#FFFFFF#000000##000000
##BA66BD1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC0
Deuteranopia (green-blind)
#7589BA
Tritanopia (blue-blind)
#BE6F89
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba66bd;
/* rgb */ color: rgb(186, 102, 189);
/* oklch */ color: oklch(63.7% 0.155 325.9);
Tailwind
colors: {
  custom: {
    50: '#d094d1',
    500: '#ba66bd',
    950: '#000000',
  },
}
SCSS
$custom: #ba66bd;
$custom-light: #d094d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba66bd",
  "rgb": {
    "r": 186,
    "g": 102,
    "b": 189
  },
  "hsl": {
    "h": 297.931,
    "s": 39.726,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63724,
    "c": 0.15467,
    "h": 325.9
  },
  "luminance": 0.23616
}

Semantic roles & 50–950 ramp

primary
#BA66BD
secondary
#AFD1AE
accent
#D0585C
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA66BD

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

Preview Lab → · Contrast checker → · Palette generator →

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