#BA67B7#BA67B7

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

Color values

HEX#BA67B7
RGBrgb(186, 103, 183)
HSLhsl(302, 38%, 57%)
HSVhsv(302, 45%, 73%)
CMYKcmyk(0%, 44.6%, 1.6%, 27.1%)
CIE-LABlab(55.64, 44.89, -28.23)
CIE-LCHlch(55.64, 53.03, 327.84°)
OKLaboklab(63.6% 0.1255 -0.0771)
OKLCHoklch(63.6% 0.147 328.5)
XYZxyz(33.6467, 23.5602, 47.5659)
Luminance0.2356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67B7 #67BA6A
analogous
#9467BA #BA67B7 #BA678E
triadic
#BA67B7 #B7BA67 #67B7BA
tetradic
#BA67B7 #BA9467 #67BA6A #678EBA
square
#BA67B7 #BA9467 #67BA6A #678EBA
split-complementary
#BA67B7 #8EBA67 #67BA94
monochromatic
#733470 #9D479A #BA67B7 #CD91CB #E0BBDF

Accessibility & contrast

On white

3.68
#BA67B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#BA67B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67B7
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67B7#FFFFFF#000000##000000
##BA67B71.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#617EBA
Deuteranopia (green-blind)
#7889B4
Tritanopia (blue-blind)
#BF6F86
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba67b7;
/* rgb */ color: rgb(186, 103, 183);
/* oklch */ color: oklch(63.6% 0.147 328.5);
Tailwind
colors: {
  custom: {
    50: '#d095cd',
    500: '#ba67b7',
    950: '#000000',
  },
}
SCSS
$custom: #ba67b7;
$custom-light: #d095cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67b7",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 183
  },
  "hsl": {
    "h": 302.169,
    "s": 37.557,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63595,
    "c": 0.14729,
    "h": 328.5
  },
  "luminance": 0.23558
}

Semantic roles & 50–950 ramp

primary
#BA67B7
secondary
#ADCFAF
accent
#CE5E5A
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140D13
muted
#837E82

Preview Lab

Preview with #BA67B7

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

Preview Lab → · Contrast checker → · Palette generator →

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