#BA68BF#BA68BF

#BA68BF is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.1% C 0.153 H 325.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#BA68BF
RGBrgb(186, 104, 191)
HSLhsl(297, 40%, 58%)
HSVhsv(297, 46%, 75%)
CMYKcmyk(2.6%, 45.5%, 0%, 25.1%)
CIE-LABlab(56.19, 45.86, -31.97)
CIE-LCHlch(56.19, 55.90, 325.11°)
OKLaboklab(64.11% 0.1256 -0.0877)
OKLCHoklch(64.11% 0.153 325.1)
XYZxyz(34.6032, 24.1029, 52.1098)
Luminance0.2410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68BF #6DBF68
analogous
#8F68BF #BA68BF #BF6898
triadic
#BA68BF #BFBA68 #68BFBA
tetradic
#BA68BF #BF8F68 #6DBF68 #6898BF
square
#BA68BF #BF8F68 #6DBF68 #6898BF
split-complementary
#BA68BF #98BF68 #68BF8F
monochromatic
#753379 #9F46A4 #BA68BF #CE93D1 #E1BEE3

Accessibility & contrast

On white

3.61
#BA68BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#BA68BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA68BF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA68BF#FFFFFF#000000##000000
##BA68BF1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F80C2
Deuteranopia (green-blind)
#768ABC
Tritanopia (blue-blind)
#BE728B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba68bf;
/* rgb */ color: rgb(186, 104, 191);
/* oklch */ color: oklch(64.1% 0.153 325.1);
Tailwind
colors: {
  custom: {
    50: '#d096d2',
    500: '#ba68bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba68bf;
$custom-light: #d096d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68bf",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 191
  },
  "hsl": {
    "h": 296.552,
    "s": 40.465,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64115,
    "c": 0.15322,
    "h": 325.1
  },
  "luminance": 0.24101
}

Semantic roles & 50–950 ramp

primary
#BA68BF
secondary
#B2D3B0
accent
#D0575E
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA68BF

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

Preview Lab → · Contrast checker → · Palette generator →

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