#BA67BA#BA67BA

#BA67BA is a light, vivid purple. Relative luminance 0.237; OKLCH L 63.7% C 0.150 H 327.2°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#BA67BA
RGBrgb(186, 103, 186)
HSLhsl(300, 38%, 57%)
HSVhsv(300, 45%, 73%)
CMYKcmyk(0%, 44.6%, 0%, 27.1%)
CIE-LABlab(55.77, 45.44, -29.76)
CIE-LCHlch(55.77, 54.32, 326.78°)
OKLaboklab(63.73% 0.1261 -0.0814)
OKLCHoklch(63.73% 0.15 327.2)
XYZxyz(33.9623, 23.6865, 49.2279)
Luminance0.2369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67BA #67BA67
analogous
#9167BA #BA67BA #BA6791
triadic
#BA67BA #BABA67 #67BABA
tetradic
#BA67BA #BA9167 #67BA67 #6791BA
square
#BA67BA #BA9167 #67BA67 #6791BA
split-complementary
#BA67BA #91BA67 #67BA91
monochromatic
#733473 #9D479D #BA67BA #CD91CD #E0BBE0

Accessibility & contrast

On white

3.66
#BA67BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#BA67BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67BA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67BA#FFFFFF#000000##000000
##BA67BA1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#607FBD
Deuteranopia (green-blind)
#7789B7
Tritanopia (blue-blind)
#BF6F88
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba67ba;
/* rgb */ color: rgb(186, 103, 186);
/* oklch */ color: oklch(63.7% 0.150 327.2);
Tailwind
colors: {
  custom: {
    50: '#d095cf',
    500: '#ba67ba',
    950: '#000000',
  },
}
SCSS
$custom: #ba67ba;
$custom-light: #d095cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67ba",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 186
  },
  "hsl": {
    "h": 300,
    "s": 37.557,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63733,
    "c": 0.1501,
    "h": 327.2
  },
  "luminance": 0.23685
}

Semantic roles & 50–950 ramp

primary
#BA67BA
secondary
#ADCFAD
accent
#CE5A5A
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140D13
muted
#837E82

Preview Lab

Preview with #BA67BA

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

Preview Lab → · Contrast checker → · Palette generator →

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