#BA68C8#BA68C8

#BA68C8 is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.5% C 0.162 H 321.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#BA68C8
RGBrgb(186, 104, 200)
HSLhsl(291, 47%, 60%)
HSVhsv(291, 48%, 78%)
CMYKcmyk(7%, 48%, 0%, 21.6%)
CIE-LABlab(56.60, 47.59, -36.48)
CIE-LCHlch(56.60, 59.96, 322.53°)
OKLaboklab(64.55% 0.1271 -0.1007)
OKLCHoklch(64.55% 0.162 321.6)
XYZxyz(35.6242, 24.5113, 57.4870)
Luminance0.2451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68C8 #76C868
analogous
#8A68C8 #BA68C8 #C868A6
triadic
#BA68C8 #C8BA68 #68C8BA
tetradic
#BA68C8 #C88A68 #76C868 #68A6C8
square
#BA68C8 #C88A68 #76C868 #68A6C8
split-complementary
#BA68C8 #A6C868 #68C88A
monochromatic
#793085 #A141B2 #BA68C8 #CE95D8 #E3C2E9

Accessibility & contrast

On white

3.56
#BA68C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#BA68C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA68C8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA68C8#FFFFFF#000000##000000
##BA68C81.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A82CB
Deuteranopia (green-blind)
#728BC5
Tritanopia (blue-blind)
#BC748F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba68c8;
/* rgb */ color: rgb(186, 104, 200);
/* oklch */ color: oklch(64.5% 0.162 321.6);
Tailwind
colors: {
  custom: {
    50: '#d196d9',
    500: '#ba68c8',
    950: '#000000',
  },
}
SCSS
$custom: #ba68c8;
$custom-light: #d196d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68c8",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 200
  },
  "hsl": {
    "h": 291.25,
    "s": 46.602,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64549,
    "c": 0.16215,
    "h": 321.6
  },
  "luminance": 0.2451
}

Semantic roles & 50–950 ramp

primary
#BA68C8
secondary
#B9D9B3
accent
#D65265
background
#FDF9FD
surface
#FAF2FA
border
#D3CCD3
text
#140D14
muted
#837E83

Preview Lab

Preview with #BA68C8

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

Preview Lab → · Contrast checker → · Palette generator →

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