#BA67E1#BA67E1

#BA67E1 is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.7% C 0.190 H 313.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#BA67E1
RGBrgb(186, 103, 225)
HSLhsl(281, 67%, 64%)
HSVhsv(281, 54%, 88%)
CMYKcmyk(17.3%, 54.2%, 0%, 11.8%)
CIE-LABlab(57.63, 53.17, -48.98)
CIE-LCHlch(57.63, 72.29, 317.35°)
OKLaboklab(65.72% 0.1312 -0.1369)
OKLCHoklch(65.72% 0.19 313.8)
XYZxyz(38.6883, 25.5769, 74.1184)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67E1 #8EE167
analogous
#7D67E1 #BA67E1 #E167CB
triadic
#BA67E1 #E1BA67 #67E1BA
tetradic
#BA67E1 #E17D67 #8EE167 #67CBE1
square
#BA67E1 #E17D67 #8EE167 #67CBE1
split-complementary
#BA67E1 #CBE167 #67E17D
monochromatic
#8022AC #A334D7 #BA67E1 #D19AEB #E8CDF5

Accessibility & contrast

On white

3.43
#BA67E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#BA67E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67E1
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67E1#FFFFFF#000000##000000
##BA67E11.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4786E5
Deuteranopia (green-blind)
#638DDE
Tritanopia (blue-blind)
#B77B9A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba67e1;
/* rgb */ color: rgb(186, 103, 225);
/* oklch */ color: oklch(65.7% 0.190 313.8);
Tailwind
colors: {
  custom: {
    50: '#d195eb',
    500: '#ba67e1',
    950: '#000000',
  },
}
SCSS
$custom: #ba67e1;
$custom-light: #d195eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67e1",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 225
  },
  "hsl": {
    "h": 280.82,
    "s": 67.033,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65716,
    "c": 0.18962,
    "h": 313.8
  },
  "luminance": 0.25576
}

Semantic roles & 50–950 ramp

primary
#BA67E1
secondary
#CAE7BD
accent
#CF1752
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA67E1

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

Preview Lab → · Contrast checker → · Palette generator →

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