#BA67A2#BA67A2

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

Color values

HEX#BA67A2
RGBrgb(186, 103, 162)
HSLhsl(317, 38%, 57%)
HSVhsv(317, 45%, 73%)
CMYKcmyk(0%, 44.6%, 12.9%, 27.1%)
CIE-LABlab(54.81, 41.23, -17.35)
CIE-LCHlch(54.81, 44.73, 337.18°)
OKLaboklab(62.7% 0.1205 -0.0464)
OKLCHoklch(62.7% 0.129 338.9)
XYZxyz(31.6217, 22.7503, 36.9011)
Luminance0.2275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67A2 #67BA7F
analogous
#A967BA #BA67A2 #BA6779
triadic
#BA67A2 #A2BA67 #67A2BA
tetradic
#BA67A2 #BAA967 #67BA7F #6779BA
square
#BA67A2 #BAA967 #67BA7F #6779BA
split-complementary
#BA67A2 #79BA67 #67BAA9
monochromatic
#733460 #9D4784 #BA67A2 #CD91BC #E0BBD6

Accessibility & contrast

On white

3.78
#BA67A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#BA67A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67A2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67A2#FFFFFF#000000##000000
##BA67A21.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7BA4
Deuteranopia (green-blind)
#8088A0
Tritanopia (blue-blind)
#C2697D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba67a2;
/* rgb */ color: rgb(186, 103, 162);
/* oklch */ color: oklch(62.7% 0.129 338.9);
Tailwind
colors: {
  custom: {
    50: '#d094bd',
    500: '#ba67a2',
    950: '#000000',
  },
}
SCSS
$custom: #ba67a2;
$custom-light: #d094bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67a2",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 162
  },
  "hsl": {
    "h": 317.349,
    "s": 37.557,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62701,
    "c": 0.12913,
    "h": 338.9
  },
  "luminance": 0.22748
}

Semantic roles & 50–950 ramp

primary
#BA67A2
secondary
#ADCFB7
accent
#CE7C5A
background
#FDF9FB
surface
#FAF2F6
border
#D3CCD0
text
#140D12
muted
#837E81

Preview Lab

Preview with #BA67A2

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

Preview Lab → · Contrast checker → · Palette generator →

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