#BA66AF#BA66AF

#BA66AF is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.1% C 0.142 H 332.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#BA66AF
RGBrgb(186, 102, 175)
HSLhsl(308, 38%, 56%)
HSVhsv(308, 45%, 73%)
CMYKcmyk(0%, 45.2%, 5.9%, 27.1%)
CIE-LABlab(55.11, 43.97, -24.44)
CIE-LCHlch(55.11, 50.31, 330.94°)
OKLaboklab(63.09% 0.1253 -0.0663)
OKLCHoklch(63.09% 0.142 332.1)
XYZxyz(32.7387, 23.0389, 43.2717)
Luminance0.2304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA66AF #66BA71
analogous
#9B66BA #BA66AF #BA6685
triadic
#BA66AF #AFBA66 #66AFBA
tetradic
#BA66AF #BA9B66 #66BA71 #6685BA
square
#BA66AF #BA9B66 #66BA71 #6685BA
split-complementary
#BA66AF #85BA66 #66BA9B
monochromatic
#72336A #9C4691 #BA66AF #CD90C5 #E0BADB

Accessibility & contrast

On white

3.75
#BA66AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#BA66AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA66AF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA66AF#FFFFFF#000000##000000
##BA66AF1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#647CB2
Deuteranopia (green-blind)
#7B88AD
Tritanopia (blue-blind)
#C06B82
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba66af;
/* rgb */ color: rgb(186, 102, 175);
/* oklch */ color: oklch(63.1% 0.142 332.1);
Tailwind
colors: {
  custom: {
    50: '#d094c7',
    500: '#ba66af',
    950: '#000000',
  },
}
SCSS
$custom: #ba66af;
$custom-light: #d094c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba66af",
  "rgb": {
    "r": 186,
    "g": 102,
    "b": 175
  },
  "hsl": {
    "h": 307.857,
    "s": 37.838,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6309,
    "c": 0.14173,
    "h": 332.1
  },
  "luminance": 0.23037
}

Semantic roles & 50–950 ramp

primary
#BA66AF
secondary
#ADCFB1
accent
#CE695A
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140D13
muted
#837E82

Preview Lab

Preview with #BA66AF

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

Preview Lab → · Contrast checker → · Palette generator →

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