#BA67B1#BA67B1

#BA67B1 is a light, vivid purple. Relative luminance 0.233; OKLCH L 63.3% C 0.142 H 331.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#BA67B1
RGBrgb(186, 103, 177)
HSLhsl(307, 38%, 57%)
HSVhsv(307, 45%, 73%)
CMYKcmyk(0%, 44.6%, 4.8%, 27.1%)
CIE-LABlab(55.40, 43.81, -25.15)
CIE-LCHlch(55.40, 50.51, 330.13°)
OKLaboklab(63.33% 0.1242 -0.0683)
OKLCHoklch(63.33% 0.142 331.2)
XYZxyz(33.0355, 23.3158, 44.3468)
Luminance0.2331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67B1 #67BA70
analogous
#9A67BA #BA67B1 #BA6788
triadic
#BA67B1 #B1BA67 #67B1BA
tetradic
#BA67B1 #BA9A67 #67BA70 #6788BA
square
#BA67B1 #BA9A67 #67BA70 #6788BA
split-complementary
#BA67B1 #88BA67 #67BA9A
monochromatic
#73346C #9D4793 #BA67B1 #CD91C7 #E0BBDC

Accessibility & contrast

On white

3.71
#BA67B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#BA67B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67B1
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67B1#FFFFFF#000000##000000
##BA67B11.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba67b1;
/* rgb */ color: rgb(186, 103, 177);
/* oklch */ color: oklch(63.3% 0.142 331.2);
Tailwind
colors: {
  custom: {
    50: '#d095c8',
    500: '#ba67b1',
    950: '#000000',
  },
}
SCSS
$custom: #ba67b1;
$custom-light: #d095c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67b1",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 177
  },
  "hsl": {
    "h": 306.506,
    "s": 37.557,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63328,
    "c": 0.14178,
    "h": 331.2
  },
  "luminance": 0.23314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA67B1

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

Preview Lab → · Contrast checker → · Palette generator →

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