#BA68BC#BA68BC

#BA68BC is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.0% C 0.150 H 326.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#BA68BC
RGBrgb(186, 104, 188)
HSLhsl(299, 39%, 57%)
HSVhsv(299, 45%, 74%)
CMYKcmyk(1.1%, 44.7%, 0%, 26.3%)
CIE-LABlab(56.06, 45.29, -30.46)
CIE-LCHlch(56.06, 54.58, 326.08°)
OKLaboklab(63.98% 0.125 -0.0834)
OKLCHoklch(63.98% 0.15 326.3)
XYZxyz(34.2764, 23.9722, 50.3888)
Luminance0.2397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68BC #6ABC68
analogous
#9068BC #BA68BC #BC6894
triadic
#BA68BC #BCBA68 #68BCBA
tetradic
#BA68BC #BC9068 #6ABC68 #6894BC
square
#BA68BC #BC9068 #6ABC68 #6894BC
split-complementary
#BA68BC #94BC68 #68BC90
monochromatic
#743475 #9E47A0 #BA68BC #CD92CF #E1BDE2

Accessibility & contrast

On white

3.62
#BA68BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA68BC#FFFFFF#000000##000000
##BA68BC1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6080BF
Deuteranopia (green-blind)
#778AB9
Tritanopia (blue-blind)
#BE7189
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba68bc;
/* rgb */ color: rgb(186, 104, 188);
/* oklch */ color: oklch(64.0% 0.150 326.3);
Tailwind
colors: {
  custom: {
    50: '#d096d0',
    500: '#ba68bc',
    950: '#000000',
  },
}
SCSS
$custom: #ba68bc;
$custom-light: #d096d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68bc",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 188
  },
  "hsl": {
    "h": 298.571,
    "s": 38.532,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63975,
    "c": 0.15031,
    "h": 326.3
  },
  "luminance": 0.23971
}

Semantic roles & 50–950 ramp

primary
#BA68BC
secondary
#B0D1AF
accent
#CE595C
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA68BC

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

Preview Lab → · Contrast checker → · Palette generator →

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