#BA68BD#BA68BD

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

Color values

HEX#BA68BD
RGBrgb(186, 104, 189)
HSLhsl(298, 39%, 57%)
HSVhsv(298, 45%, 74%)
CMYKcmyk(1.6%, 45%, 0%, 25.9%)
CIE-LABlab(56.10, 45.48, -30.96)
CIE-LCHlch(56.10, 55.02, 325.75°)
OKLaboklab(64.02% 0.1252 -0.0849)
OKLCHoklch(64.02% 0.151 325.9)
XYZxyz(34.3846, 24.0155, 50.9585)
Luminance0.2401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68BD #6BBD68
analogous
#8F68BD #BA68BD #BD6896
triadic
#BA68BD #BDBA68 #68BDBA
tetradic
#BA68BD #BD8F68 #6BBD68 #6896BD
square
#BA68BD #BD8F68 #6BBD68 #6896BD
split-complementary
#BA68BD #96BD68 #68BD8F
monochromatic
#743477 #9E47A1 #BA68BD #CD93D0 #E1BDE2

Accessibility & contrast

On white

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

On black

5.80
#BA68BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA68BD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA68BD#FFFFFF#000000##000000
##BA68BD1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6080C0
Deuteranopia (green-blind)
#778ABA
Tritanopia (blue-blind)
#BE718A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba68bd;
/* rgb */ color: rgb(186, 104, 189);
/* oklch */ color: oklch(64.0% 0.151 325.9);
Tailwind
colors: {
  custom: {
    50: '#d096d1',
    500: '#ba68bd',
    950: '#000000',
  },
}
SCSS
$custom: #ba68bd;
$custom-light: #d096d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68bd",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 189
  },
  "hsl": {
    "h": 297.882,
    "s": 39.171,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64021,
    "c": 0.15127,
    "h": 325.9
  },
  "luminance": 0.24014
}

Semantic roles & 50–950 ramp

primary
#BA68BD
secondary
#B0D2AF
accent
#CF595D
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA68BD

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

Preview Lab → · Contrast checker → · Palette generator →

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