#BA67B2#BA67B2

#BA67B2 is a light, vivid purple. Relative luminance 0.234; OKLCH L 63.4% C 0.143 H 330.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#BA67B2
RGBrgb(186, 103, 178)
HSLhsl(306, 38%, 57%)
HSVhsv(306, 45%, 73%)
CMYKcmyk(0%, 44.6%, 4.3%, 27.1%)
CIE-LABlab(55.44, 43.98, -25.67)
CIE-LCHlch(55.44, 50.93, 329.73°)
OKLaboklab(63.37% 0.1245 -0.0698)
OKLCHoklch(63.37% 0.143 330.7)
XYZxyz(33.1355, 23.3558, 44.8736)
Luminance0.2335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67B2 #67BA6F
analogous
#9967BA #BA67B2 #BA6789
triadic
#BA67B2 #B2BA67 #67B2BA
tetradic
#BA67B2 #BA9967 #67BA6F #6789BA
square
#BA67B2 #BA9967 #67BA6F #6789BA
split-complementary
#BA67B2 #89BA67 #67BA99
monochromatic
#73346D #9D4794 #BA67B2 #CD91C7 #E0BBDD

Accessibility & contrast

On white

3.70
#BA67B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#BA67B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67B2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67B2#FFFFFF#000000##000000
##BA67B21.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB5
Deuteranopia (green-blind)
#7A89AF
Tritanopia (blue-blind)
#C06D84
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba67b2;
/* rgb */ color: rgb(186, 103, 178);
/* oklch */ color: oklch(63.4% 0.143 330.7);
Tailwind
colors: {
  custom: {
    50: '#d095c9',
    500: '#ba67b2',
    950: '#000000',
  },
}
SCSS
$custom: #ba67b2;
$custom-light: #d095c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67b2",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 178
  },
  "hsl": {
    "h": 305.783,
    "s": 37.557,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63372,
    "c": 0.14268,
    "h": 330.7
  },
  "luminance": 0.23354
}

Semantic roles & 50–950 ramp

primary
#BA67B2
secondary
#ADCFB1
accent
#CE655A
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140D13
muted
#837E82

Preview Lab

Preview with #BA67B2

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

Preview Lab → · Contrast checker → · Palette generator →

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