#BA68CB#BA68CB

#BA68CB is a light, vivid purple. Relative luminance 0.247; OKLCH L 64.7% C 0.165 H 320.5°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#BA68CB
RGBrgb(186, 104, 203)
HSLhsl(290, 49%, 60%)
HSVhsv(290, 49%, 80%)
CMYKcmyk(8.4%, 48.8%, 0%, 20.4%)
CIE-LABlab(56.74, 48.17, -37.97)
CIE-LCHlch(56.74, 61.34, 321.76°)
OKLaboklab(64.7% 0.1275 -0.105)
OKLCHoklch(64.7% 0.165 320.5)
XYZxyz(35.9782, 24.6530, 59.3517)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68CB #79CB68
analogous
#8868CB #BA68CB #CB68AA
triadic
#BA68CB #CBBA68 #68CBBA
tetradic
#BA68CB #CB8868 #79CB68 #68AACB
square
#BA68CB #CB8868 #79CB68 #68AACB
split-complementary
#BA68CB #AACB68 #68CB88
monochromatic
#7A2F89 #A23FB7 #BA68CB #CF96DB #E4C3EA

Accessibility & contrast

On white

3.54
#BA68CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#BA68CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA68CB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA68CB#FFFFFF#000000##000000
##BA68CB1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CE
Deuteranopia (green-blind)
#708BC8
Tritanopia (blue-blind)
#BB7590
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba68cb;
/* rgb */ color: rgb(186, 104, 203);
/* oklch */ color: oklch(64.7% 0.165 320.5);
Tailwind
colors: {
  custom: {
    50: '#d196db',
    500: '#ba68cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba68cb;
$custom-light: #d196db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68cb",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 289.697,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64698,
    "c": 0.16519,
    "h": 320.5
  },
  "luminance": 0.24652
}

Semantic roles & 50–950 ramp

primary
#BA68CB
secondary
#BBDAB4
accent
#BC2943
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA68CB

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

Preview Lab → · Contrast checker → · Palette generator →

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