#BA67A1#BA67A1

#BA67A1 is a light, vivid pink. Relative luminance 0.227; OKLCH L 62.7% C 0.128 H 339.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BA67A1
RGBrgb(186, 103, 161)
HSLhsl(318, 38%, 57%)
HSVhsv(318, 45%, 73%)
CMYKcmyk(0%, 44.6%, 13.4%, 27.1%)
CIE-LABlab(54.78, 41.06, -16.82)
CIE-LCHlch(54.78, 44.37, 337.72°)
OKLaboklab(62.66% 0.1202 -0.045)
OKLCHoklch(62.66% 0.128 339.5)
XYZxyz(31.5332, 22.7148, 36.4348)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67A1 #67BA80
analogous
#AA67BA #BA67A1 #BA6778
triadic
#BA67A1 #A1BA67 #67A1BA
tetradic
#BA67A1 #BAAA67 #67BA80 #6778BA
square
#BA67A1 #BAAA67 #67BA80 #6778BA
split-complementary
#BA67A1 #78BA67 #67BAAA
monochromatic
#733460 #9D4783 #BA67A1 #CD91BB #E0BBD5

Accessibility & contrast

On white

3.79
#BA67A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#BA67A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67A1
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67A1#FFFFFF#000000##000000
##BA67A11.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7BA3
Deuteranopia (green-blind)
#80889F
Tritanopia (blue-blind)
#C2697D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba67a1;
/* rgb */ color: rgb(186, 103, 161);
/* oklch */ color: oklch(62.7% 0.128 339.5);
Tailwind
colors: {
  custom: {
    50: '#d094bd',
    500: '#ba67a1',
    950: '#000000',
  },
}
SCSS
$custom: #ba67a1;
$custom-light: #d094bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67a1",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 161
  },
  "hsl": {
    "h": 318.072,
    "s": 37.557,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62661,
    "c": 0.12836,
    "h": 339.5
  },
  "luminance": 0.22713
}

Semantic roles & 50–950 ramp

primary
#BA67A1
secondary
#ADCFB8
accent
#CE7D5A
background
#FDF9FB
surface
#FAF2F6
border
#D3CCD0
text
#140D12
muted
#837E81

Preview Lab

Preview with #BA67A1

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

Preview Lab → · Contrast checker → · Palette generator →

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