#BA67B8#BA67B8

#BA67B8 is a light, vivid purple. Relative luminance 0.236; OKLCH L 63.6% C 0.148 H 328.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#BA67B8
RGBrgb(186, 103, 184)
HSLhsl(301, 38%, 57%)
HSVhsv(301, 45%, 73%)
CMYKcmyk(0%, 44.6%, 1.1%, 27.1%)
CIE-LABlab(55.69, 45.07, -28.74)
CIE-LCHlch(55.69, 53.45, 327.48°)
OKLaboklab(63.64% 0.1257 -0.0785)
OKLCHoklch(63.64% 0.148 328)
XYZxyz(33.7511, 23.6020, 48.1160)
Luminance0.2360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67B8 #67BA69
analogous
#9367BA #BA67B8 #BA678F
triadic
#BA67B8 #B8BA67 #67B8BA
tetradic
#BA67B8 #BA9367 #67BA69 #678FBA
square
#BA67B8 #BA9367 #67BA69 #678FBA
split-complementary
#BA67B8 #8FBA67 #67BA93
monochromatic
#733471 #9D479B #BA67B8 #CD91CC #E0BBDF

Accessibility & contrast

On white

3.67
#BA67B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#BA67B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67B8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67B8#FFFFFF#000000##000000
##BA67B81.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#617EBB
Deuteranopia (green-blind)
#7889B5
Tritanopia (blue-blind)
#BF6F87
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba67b8;
/* rgb */ color: rgb(186, 103, 184);
/* oklch */ color: oklch(63.6% 0.148 328.0);
Tailwind
colors: {
  custom: {
    50: '#d095cd',
    500: '#ba67b8',
    950: '#000000',
  },
}
SCSS
$custom: #ba67b8;
$custom-light: #d095cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67b8",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 184
  },
  "hsl": {
    "h": 301.446,
    "s": 37.557,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63641,
    "c": 0.14822,
    "h": 328
  },
  "luminance": 0.236
}

Semantic roles & 50–950 ramp

primary
#BA67B8
secondary
#ADCFAE
accent
#CE5D5A
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140D13
muted
#837E82

Preview Lab

Preview with #BA67B8

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

Preview Lab → · Contrast checker → · Palette generator →

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