#BA68BB#BA68BB

#BA68BB is a light, vivid purple. Relative luminance 0.239; OKLCH L 63.9% C 0.149 H 326.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#BA68BB
RGBrgb(186, 104, 187)
HSLhsl(299, 38%, 57%)
HSVhsv(299, 44%, 73%)
CMYKcmyk(0.5%, 44.4%, 0%, 26.7%)
CIE-LABlab(56.02, 45.11, -29.95)
CIE-LCHlch(56.02, 54.14, 326.42°)
OKLaboklab(63.93% 0.1249 -0.082)
OKLCHoklch(63.93% 0.149 326.7)
XYZxyz(34.1690, 23.9293, 49.8231)
Luminance0.2393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68BB #69BB68
analogous
#9168BB #BA68BB #BB6893
triadic
#BA68BB #BBBA68 #68BBBA
tetradic
#BA68BB #BB9168 #69BB68 #6893BB
square
#BA68BB #BB9168 #69BB68 #6893BB
split-complementary
#BA68BB #93BB68 #68BB91
monochromatic
#733474 #9D479E #BA68BB #CD92CE #E1BCE1

Accessibility & contrast

On white

3.63
#BA68BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#BA68BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA68BB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA68BB#FFFFFF#000000##000000
##BA68BB1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6180BE
Deuteranopia (green-blind)
#788AB8
Tritanopia (blue-blind)
#BE7189
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba68bb;
/* rgb */ color: rgb(186, 104, 187);
/* oklch */ color: oklch(63.9% 0.149 326.7);
Tailwind
colors: {
  custom: {
    50: '#d095cf',
    500: '#ba68bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba68bb;
$custom-light: #d095cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68bb",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 187
  },
  "hsl": {
    "h": 299.277,
    "s": 37.9,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63929,
    "c": 0.14935,
    "h": 326.7
  },
  "luminance": 0.23928
}

Semantic roles & 50–950 ramp

primary
#BA68BB
secondary
#AFD0AF
accent
#CE5A5B
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA68BB

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

Preview Lab → · Contrast checker → · Palette generator →

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